Skip to content

Commit cc5ca50

Browse files
author
Stanislav Uschakow
committed
Minor changes to Makefile
so the build system can actually build RPMs
1 parent 7565d8d commit cc5ca50

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ MAJOR=0
77
MINOR=1
88
RELEASE=1
99

10-
VERSION=$(MAJOR).$(MINOR)-$(RELEASE)$(DIST)
10+
VERSION=$(MAJOR).$(MINOR)-$(RELEASE)
1111

1212
$(info Building version $(VERSION))
1313

@@ -36,8 +36,10 @@ MAN_FILE_LOCATION=/usr/share/man/man1
3636
all:
3737
$(error There is nothing to build here yet. Please use "make install" to install the config files)
3838

39+
srpm: sources
40+
3941
sources:
40-
tar czf ./smart-restart-$(VERSION).tar.gz --transform 's,^,smart-restart-$(VERSION)/,' bin conf Makefile smart-restart.spec doc/smart-restart.man1
42+
tar czf ./smart-restart-v$(VERSION).tar.gz --transform 's,^,smart-restart-v$(VERSION)/,' bin conf Makefile smart-restart.spec doc/smart-restart.man1
4143

4244
install:
4345
$(info Dest: $(DEST_DIR))

0 commit comments

Comments
 (0)