Added new Makefile to the "man" directory. This will handle the logic

for changes, substitutions, and clean-up of the man pages.
For now install instructions are still in the "src" directory
to avoid breaking install scripts.
This commit is contained in:
Jesse
2021-12-27 17:50:25 -04:00
parent 92d4b0e74a
commit a6e80e1133
3 changed files with 17 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ VERSION=$(shell sed -rn '1s/.*[[:blank:]]\((.*)\)[[:blank:]].*/\1/p' doc/Changel
all install clean distclean:
@rm -f $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION).tar.xz.sig
$(MAKE) VERSION=$(VERSION) -C man $@
$(MAKE) VERSION=$(VERSION) -C src $@
GITLOGIN=$(shell git remote -v | head -n 1 | cut -f 1 -d '@' | sed 's/origin\t//g')
@@ -42,3 +43,4 @@ $(TMP)/$(PACKAGE)-$(VERSION): distclean
@cp -R $(SOURCES) $(TMP)/$(PACKAGE)-$(VERSION)/
@chmod -R a+r,u+w,og-w $@
@find $@ -type d | xargs -r chmod a+rx,u+w,og-w