Skip to content

Commit

Permalink
Minor changes to Makefile
Browse files Browse the repository at this point in the history
so the build system can actually build RPMs
  • Loading branch information
Stanislav Uschakow committed Feb 29, 2024
1 parent 7565d8d commit cc5ca50
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ MAJOR=0
MINOR=1
RELEASE=1

VERSION=$(MAJOR).$(MINOR)-$(RELEASE)$(DIST)
VERSION=$(MAJOR).$(MINOR)-$(RELEASE)

$(info Building version $(VERSION))

Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit cc5ca50

Please sign in to comment.