File tree Expand file tree Collapse file tree 2 files changed +8
-14
lines changed
Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 1- VER ="` git tag | tr -d ' v' ` "
2- MAKEFILELIST ="makefile pkgs/debian/makefile"
3- TARBALL-LOCATION: =pkgs/tarball
1+ VER ="` git tag | sort -rn | head -1 | tr -d ' v' ` "
2+ TARBALLLOC: =pkgs/tarball
43PKGNAME: =unix-notes-$(VER )
54TARBALL =$(PKGNAME ) -tar
65GZTARBALL =$(TARBALL ) .gz
1918
2019# # make var Show makefile variables
2120var :
22- @echo Latest Git tag ( Version) = $(VER )
23- @echo Tarball Location = $(TARBALL-LOCATION )
21+ @echo Latest Git tag { Version} = $(VER )
22+ @echo Tarball Location = $(TARBALLLOC )
2423 @echo Package Name = $(PKGNAME )
2524 @echo Tarball Name = $(TARBALL )
2625 @echo Gzipped Tarball = $(GZTARBALL )
@@ -63,5 +62,5 @@ tarball:
6362 git archive v$(VER ) -o $(TARBALL )
6463 gzip $(TARBALL )
6564 sha256 $(GZTARBALL ) | tee $(SHATXT )
66- mv $(GZTARBALL ) $(TARBALL-LOCATION )
67- mv $(SHATXT ) $(TARBALL-LOCATION )
65+ mv $(GZTARBALL ) $(TARBALLLOC )
66+ mv $(SHATXT ) $(TARBALLLOC )
Original file line number Diff line number Diff line change 1-
2- PROGNAME =unix-notes
3- VER ="` git tag | tr -d ' v' ` "
4- ARCH =all
5- PKGBUILDDIR =$(PROGNAME ) _$(VER ) _$(ARCH )
1+ VER ="` git tag | sort -rn | head -1 | tr -d ' v' ` "
2+ PKGBUILDDIR =unix-notes_$(VER ) _all
63BINDIR =usr/local/bin
74PKGBINDIR =$(PKGBUILDDIR ) /$(BINDIR )
85MANPATH =usr/share/man/man1
2118 @sed -n s/^# #//p makefile
2219
2320var :
24- @echo PROGNAME = $(PROGNAME )
2521 @echo Git Tag (VER) = $(VER )
26- @echo ARCH = $(ARCH )
2722 @echo PKGBUILDIR = $(PKGBUILDDIR )
2823 @echo BINDIR = $(BINDIR )
2924 @echo PKGBINDIR = $(PKGBINDIR )
You can’t perform that action at this time.
0 commit comments