File: Makefile.am

package info (click to toggle)
dar 2.8.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,024 kB
  • sloc: cpp: 86,219; sh: 6,978; ansic: 895; makefile: 489; python: 242; csh: 115; perl: 43; sed: 16
file content (29 lines) | stat: -rw-r--r-- 762 bytes parent folder | download | duplicates (4)
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/&minus;/-/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