summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.in
blob: e0732adb76f69270d07136fe35302e6d045d7537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
mandocs-@CONFIG_MAN@	+= doc/nftables.8
pdfdocs-@CONFIG_PDF@	+= doc/nftables.pdf

all:		$(mandocs-y) $(pdfdocs-y)
clean:
		@echo -e "  CLEAN\t\tdoc"
		$(RM) $(mandocs-y) $(pdfdocs-y)

install:	$(mandocs-y) $(pdfdocs-y)
		@echo -e "  INSTALL\tdoc"
		if test -n "$(mandocs-y)"; then \
			$(MKDIR_P) $(DESTDIR)/${mandir}/man8 ;\
			$(INSTALL) -m 755 -p $(mandocs-y) \
					$(DESTDIR)/${mandir}/man8/ ;\
		fi
		if test -n "$(pdfdocs-y)"; then \
			$(MKDIR_P) $(DESTDIR)/${pdfdir} ;\
			$(INSTALL) -m 755 -p $(pdfdocs-y) \
					$(DESTDIR)/${pdfdir}/ ;\
		fi