blob: 1ec856c9ee19c493dc2f3061b8dcd5d8a97f4cd6 (
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/nft.8
pdfdocs-@CONFIG_PDF@ += doc/nft.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
|