summaryrefslogtreecommitdiff
path: root/textproc/source-highlight/patches/patch-ad
blob: 74dc69e5c1a658d2886c0624134c01d74c2e87db (plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
$NetBSD: patch-ad,v 1.2 2003/02/16 20:53:48 seb Exp $

--- doc/Makefile.in.orig	2003-02-09 09:22:52.000000000 +0000
+++ doc/Makefile.in
@@ -138,6 +138,7 @@ sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 source_highlightdatadir = @source_highlightdatadir@
 source_highlightdocdir = @source_highlightdocdir@
+source_highlightdochtmldir = @source_highlightdochtmldir@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
 
@@ -168,7 +169,7 @@ EXTRA_DIST = colors.html @PACKAGE@.html 
              startapp.cc.html cmdline.c.html cmdline.h.html
 
 
-source_highlightdoc_DATA = colors.html @PACKAGE@.html \
+source_highlightdochtml_DATA = colors.html @PACKAGE@.html \
     Hello.java Hello1.html Hello2.html Hello3.html Hello4.html Hello5.html \
     Hello.java.html Hello_h_f.html Hello_lines.html Hello_xhtml.html \
     Hello_xhtml2.html \
@@ -202,11 +203,13 @@ subdir = doc
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = $(top_builddir)/config.h
 CONFIG_CLEAN_FILES = source-highlight.html source-highlight.1
+depcomp =
+am__depfiles_maybe =
 DIST_SOURCES =
 
 NROFF = nroff
 MANS = $(man_MANS)
-DATA = $(source_highlightdoc_DATA)
+DATA = $(source_highlightdochtml_DATA)
 
 DIST_COMMON = Makefile.am Makefile.in source-highlight.1.in \
 	source-highlight.html.in
@@ -215,7 +218,7 @@ all: all-am
 .SUFFIXES:
 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
 	cd $(top_srcdir) && \
-	  $(AUTOMAKE) --gnu  doc/Makefile
+	  $(AUTOMAKE) --gnu  --ignore-deps doc/Makefile
 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
 source-highlight.html: $(top_builddir)/config.status source-highlight.html.in
@@ -270,23 +273,23 @@ uninstall-man1:
 	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
 	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
 	done
-source_highlightdocDATA_INSTALL = $(INSTALL_DATA)
-install-source_highlightdocDATA: $(source_highlightdoc_DATA)
+source_highlightdochtmlDATA_INSTALL = $(INSTALL_DATA)
+install-source_highlightdochtmlDATA: $(source_highlightdochtml_DATA)
 	@$(NORMAL_INSTALL)
-	$(mkinstalldirs) $(DESTDIR)$(source_highlightdocdir)
-	@list='$(source_highlightdoc_DATA)'; for p in $$list; do \
+	$(mkinstalldirs) $(DESTDIR)$(source_highlightdochtmldir)
+	@list='$(source_highlightdochtml_DATA)'; for p in $$list; do \
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
-	  echo " $(source_highlightdocDATA_INSTALL) $$d$$p $(DESTDIR)$(source_highlightdocdir)/$$f"; \
-	  $(source_highlightdocDATA_INSTALL) $$d$$p $(DESTDIR)$(source_highlightdocdir)/$$f; \
+	  echo " $(source_highlightdochtmlDATA_INSTALL) $$d$$p $(DESTDIR)$(source_highlightdochtmldir)/$$f"; \
+	  $(source_highlightdochtmlDATA_INSTALL) $$d$$p $(DESTDIR)$(source_highlightdochtmldir)/$$f; \
 	done
 
-uninstall-source_highlightdocDATA:
+uninstall-source_highlightdochtmlDATA:
 	@$(NORMAL_UNINSTALL)
-	@list='$(source_highlightdoc_DATA)'; for p in $$list; do \
+	@list='$(source_highlightdochtml_DATA)'; for p in $$list; do \
 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
-	  echo " rm -f $(DESTDIR)$(source_highlightdocdir)/$$f"; \
-	  rm -f $(DESTDIR)$(source_highlightdocdir)/$$f; \
+	  echo " rm -f $(DESTDIR)$(source_highlightdochtmldir)/$$f"; \
+	  rm -f $(DESTDIR)$(source_highlightdochtmldir)/$$f; \
 	done
 tags: TAGS
 TAGS:
@@ -331,7 +334,7 @@ check: check-am
 all-am: Makefile $(MANS) $(DATA)
 
 installdirs:
-	$(mkinstalldirs) $(DESTDIR)$(man1dir) $(DESTDIR)$(source_highlightdocdir)
+	$(mkinstalldirs) $(DESTDIR)$(man1dir) $(DESTDIR)$(source_highlightdochtmldir)
 
 install: install-am
 install-exec: install-exec-am
@@ -374,7 +377,7 @@ info: info-am
 
 info-am:
 
-install-data-am: install-man install-source_highlightdocDATA
+install-data-am: install-man install-source_highlightdochtmlDATA
 
 install-exec-am:
 
@@ -401,7 +404,7 @@ ps: ps-am
 ps-am:
 
 uninstall-am: uninstall-info-am uninstall-man \
-	uninstall-source_highlightdocDATA
+	uninstall-source_highlightdochtmlDATA
 
 uninstall-man: uninstall-man1
 
@@ -409,29 +412,30 @@ uninstall-man: uninstall-man1
 	distclean-generic distdir dvi dvi-am info info-am install \
 	install-am install-data install-data-am install-exec \
 	install-exec-am install-info install-info-am install-man \
-	install-man1 install-source_highlightdocDATA install-strip \
+	install-man1 install-source_highlightdochtmlDATA install-strip \
 	installcheck installcheck-am installdirs maintainer-clean \
 	maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
 	pdf-am ps ps-am uninstall uninstall-am uninstall-info-am \
-	uninstall-man uninstall-man1 uninstall-source_highlightdocDATA
+	uninstall-man uninstall-man1 \
+	uninstall-source_highlightdochtmlDATA
 
 
 # note that $(srcdir) actually points to doc dir
 
 startapp.cc.html: $(top_srcdir)/src/startapp.cc
-	$(CPP2HTML) --doc $(OUTPUT_HERE) $<
+	$(CPP2HTML) --doc $(OUTPUT_HERE) $(top_srcdir)/src/startapp.cc
 
 ChangeLog.html: $(top_srcdir)/ChangeLog
-	$(CHANGELOG2HTML) --doc $(OUTPUT_HERE) $<
+	$(CHANGELOG2HTML) --doc $(OUTPUT_HERE) $(top_srcdir)/ChangeLog
 
 flex_scanner.ll.html: $(top_srcdir)/src/flex_scanner.ll
-	$(FLEX2HTML) --doc $(OUTPUT_HERE) $<
+	$(FLEX2HTML) --doc $(OUTPUT_HERE) $(top_srcdir)/src/flex_scanner.ll
 
 cmdline.c.html: $(top_srcdir)/src/lib/cmdline.c
-	$(CPP2HTML) --doc $(OUTPUT_HERE) --css="$(srcdir)/cpp2html.css" --header="$(srcdir)/header.html" --footer="$(srcdir)/footer.html" $<
+	$(CPP2HTML) --doc $(OUTPUT_HERE) --css="$(srcdir)/cpp2html.css" --header="$(srcdir)/header.html" --footer="$(srcdir)/footer.html" $(top_srcdir)/src/lib/cmdline.c
 
 cmdline.h.html: $(top_srcdir)/src/lib/cmdline.h
-	$(CPP2HTML) --doc $(OUTPUT_HERE) --css="$(srcdir)/mono.css" $<
+	$(CPP2HTML) --doc $(OUTPUT_HERE) --css="$(srcdir)/mono.css" $(top_srcdir)/src/lib/cmdline.h
 
 Hello1.html: $(srcdir)/Hello.java
 	$(BUILD_HELLO1)