mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-04 05:40:13 -05:00
commit
fbc2cd95cd
2 changed files with 9 additions and 1 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
|
@ -12,6 +12,14 @@
|
||||||
*.la
|
*.la
|
||||||
*.a
|
*.a
|
||||||
|
|
||||||
|
# build artifacts
|
||||||
|
mergerfs
|
||||||
|
obj/
|
||||||
|
src/version.hpp
|
||||||
|
|
||||||
# Debian files
|
# Debian files
|
||||||
debian/files
|
debian/files
|
||||||
debian/changelog
|
debian/changelog
|
||||||
|
|
||||||
|
# RPM files
|
||||||
|
rpmbuild/
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -219,7 +219,7 @@ rpm-clean:
|
||||||
rpm: tarball
|
rpm: tarball
|
||||||
$(eval VERSION := $(shell $(GIT) describe --always --tags --dirty))
|
$(eval VERSION := $(shell $(GIT) describe --always --tags --dirty))
|
||||||
$(eval VERSION := $(subst -,_,$(VERSION)))
|
$(eval VERSION := $(subst -,_,$(VERSION)))
|
||||||
$(MKDIR) -p rpmbuild/{BUILD,RPMS,SOURCES}
|
$(MKDIR) -p rpmbuild/BUILD rpmbuild/RPMS rpmbuild/SOURCES
|
||||||
$(SED) 's/__VERSION__/$(VERSION)/g' $(TARGET).spec > \
|
$(SED) 's/__VERSION__/$(VERSION)/g' $(TARGET).spec > \
|
||||||
rpmbuild/SOURCES/$(TARGET).spec
|
rpmbuild/SOURCES/$(TARGET).spec
|
||||||
cp -ar $(TARGET)-$(VERSION).tar.gz rpmbuild/SOURCES
|
cp -ar $(TARGET)-$(VERSION).tar.gz rpmbuild/SOURCES
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue