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 27 28 29
|
dist_pkgdata_DATA = index.html
if USE_GROFF
TARGET=copyman
SUFFIXES = .html .1
copyman:
cp '$(srcdir)/../../man/'*1 .
$(MAKE) dar.html dar_slave.html dar_xform.html dar_manager.html dar_cp.html dar_split.html
touch copyman
.1.html:
sed -e 's%\-%\\-%g' < ./$< | groff -man -Thtml | sed -e 's%<table%<table border=\"0\"%g' -e 's/−/-/g' > $@
all-local: $(TARGET)
clean-local:
rm -f $(TARGET) *.1 copyman dar.html dar_slave.html dar_xform.html dar_manager.html dar_cp.html dar_split.html
install-data-hook:
$(INSTALL) -d $(DESTDIR)$(pkgdatadir)/man
$(INSTALL) -m 0644 '$(srcdir)'/*.html $(DESTDIR)$(pkgdatadir)/man
$(INSTALL) -m 0644 '$(srcdir)/index.html' $(DESTDIR)$(pkgdatadir)/man
uninstall-hook:
rm -rf $(DESTDIR)$(pkgdatadir)/man
endif
|