File: Makefile

package info (click to toggle)
route-rnd 0.9.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,496 kB
  • sloc: ansic: 24,920; makefile: 625; sh: 226
file content (26 lines) | stat: -rw-r--r-- 529 bytes parent folder | download
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