Home | History | Annotate | Download | only in man8
      1 TARGETS = ip-address.8 ip-link.8 ip-route.8
      2 
      3 MAN8PAGES = $(TARGETS) $(filter-out $(TARGETS),$(wildcard *.8))
      4 
      5 all: $(TARGETS)
      6 
      7 ip-address.8: ip-address.8.in
      8 	sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
      9 
     10 ip-link.8: ip-link.8.in
     11 	sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
     12 
     13 ip-route.8: ip-route.8.in
     14 	sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
     15 
     16 distclean: clean
     17 
     18 clean:
     19 	@rm -f $(TARGETS)
     20 
     21 install:
     22 	$(INSTALLDIR) $(DESTDIR)$(MANDIR)/man8
     23 	$(INSTALLMAN) $(MAN8PAGES) $(DESTDIR)$(MANDIR)/man8
     24 
     25 .PHONY: install clean distclean
     26