diff --git a/Makefile b/Makefile index 26fb666..0f92670 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ MAJOR=0 MINOR=1 RELEASE=1 -VERSION=$(MAJOR).$(MINOR)-$(RELEASE)$(DIST) +VERSION=$(MAJOR).$(MINOR)-$(RELEASE) $(info Building version $(VERSION)) @@ -36,8 +36,10 @@ MAN_FILE_LOCATION=/usr/share/man/man1 all: $(error There is nothing to build here yet. Please use "make install" to install the config files) +srpm: sources + sources: - tar czf ./smart-restart-$(VERSION).tar.gz --transform 's,^,smart-restart-$(VERSION)/,' bin conf Makefile smart-restart.spec doc/smart-restart.man1 + tar czf ./smart-restart-v$(VERSION).tar.gz --transform 's,^,smart-restart-v$(VERSION)/,' bin conf Makefile smart-restart.spec doc/smart-restart.man1 install: $(info Dest: $(DEST_DIR))