1- VER =1.0
1+ VER ="` git tag | tr -d ' v' ` "
2+ MAKEFILELIST ="makefile pkgs/debian/makefile"
23TARBALL-LOCATION: =pkgs/tarball
34PKGNAME: =unix-notes-$(VER )
45TARBALL =$(PKGNAME ) -tar
56GZTARBALL =$(TARBALL ) .gz
67SHATXT =$(PKGNAME ) -sha256.txt
78
8- # # make help: Display help text
9+ # # make help Display help text
910help :
1011 @echo " "
1112 @echo " Standard(?) Unix Notes"
@@ -14,16 +15,16 @@ help:
1415 @echo " "
1516 @sed -n s/^# #//p makefile
1617
17- # # make var: Show makefile variables
18+ # # make var Show makefile variables
1819var :
19- @echo Version = $(VER )
20+ @echo Latest Git tag ( Version) = $(VER )
2021 @echo Tarball Location = $(TARBALL-LOCATION )
2122 @echo Package Name = $(PKGNAME )
2223 @echo Tarball Name = $(TARBALL )
2324 @echo Gzipped Tarball = $(GZTARBALL )
2425 @echo SHA text file = $(SHATXT )
2526
26- # # make install: Install the Unix Notes application
27+ # # make install Install the Unix Notes application
2728install : manpages install_files
2829
2930install_files :
@@ -43,19 +44,19 @@ clean:
4344 -rm tmp/notes.1.gz
4445 -rm tmp/notebook.1.gz
4546
46- # # make uninstall: Uninstall the application
47+ # # make uninstall Uninstall the application
4748uninstall :
4849 @echo uninstall application
4950 -sudo rm -f /usr/share/man/man1/notes.1.gz
5051 -sudo rm -f /usr/share/man/man1/notebook.1.gz
5152 -sudo rm -f /usr/local/bin/notes
5253 -sudo rm -f /usr/local/bin/notebook
5354
54- # # make reinstall: Reinstall the application
55+ # # make reinstall Reinstall the application
5556reinstall : uninstall install
5657 @echo reinstall application
5758
58- # # make tarball: Package up into tarball
59+ # # make tarball Package up into tarball
5960tarball :
6061 git archive v$(VER ) -o $(TARBALL )
6162 gzip $(TARBALL )
0 commit comments