You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
519 B

TARGETS = ip-address.8 ip-link.8 ip-route.8
MAN8PAGES = $(TARGETS) $(filter-out $(TARGETS),$(wildcard *.8))
all: $(TARGETS)
ip-address.8: ip-address.8.in
sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
ip-link.8: ip-link.8.in
sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
ip-route.8: ip-route.8.in
sed "s|@SYSCONFDIR@|$(CONFDIR)|g" $< > $@
distclean: clean
clean:
@rm -f $(TARGETS)
install:
$(INSTALLDIR) $(DESTDIR)$(MANDIR)/man8
$(INSTALLMAN) $(MAN8PAGES) $(DESTDIR)$(MANDIR)/man8
.PHONY: install clean distclean