1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
ROOT=..
include $(ROOT)/Makefile.conf
all: *.html
@echo -n "HTMLS=" > Makefile.list
@ls *.html | grep -v Autostyle.html | tr "\n" " " >> Makefile.list
@echo "" >> Makefile.list
ROOT="" ./Autostyle.sh *.html
include ../Makefile.conf
include Makefile.list
install:
$(MKDIR) $(DOCDIR)
$(CP) $(HTMLS) $(DOCDIR)
cd man && $(MAKE) install
linstall:
$(MKDIR) $(DOCDIR)
for n in $(HTMLS); do $(LN) $(PWD)/$$n $(DOCDIR)/$$n; done
cd man && $(MAKE) linstall
uninstall:
$(RM) $(DOCDIR)/*.html
cd man && $(MAKE) uninstall
|