File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1313 @echo " "
1414 @echo " GPG encrypted Notes system"
1515 @echo " "
16+ @echo Make now runs ' git tag' to work out the version for the tarball
17+ @echo " "
1618 @sed -n s/^# #//p makefile
1719
1820# # make var Show makefile variables
Original file line number Diff line number Diff line change @@ -12,11 +12,17 @@ DEBIAN=$(PKGBUILDDIR)/DEBIAN
1212
1313# # make help: Show help
1414help :
15+ @echo " "
16+ @echo Debian .deb packager makefile
17+ @echo " "
18+ @echo Please ensure that you have tagged the Git repo with the version
19+ @echo BEFORE you run ' make deb'
20+ @echo " "
1521 @sed -n s/^# #//p makefile
1622
1723var :
1824 @echo PROGNAME = $(PROGNAME )
19- @echo VER = $(VER )
25+ @echo Git Tag ( VER) = $(VER )
2026 @echo ARCH = $(ARCH )
2127 @echo PKGBUILDIR = $(PKGBUILDDIR )
2228 @echo BINDIR = $(BINDIR )
@@ -44,7 +50,7 @@ prep: clean
4450 install control $(DEBIAN )
4551 cd $(PKGBINDIR ) ; ln -sf notes notebook
4652
47- # # make build: Build .DEB package
53+ # # make build: Build .DEB package (VERSION calculated from GIT TAG)
4854build : prep
4955 @echo building Debian package
5056 dpkg-deb --build $(PKGBUILDDIR )
You can’t perform that action at this time.
0 commit comments