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
|
Add support for $(DEBIAN_CFLAGS).
diff -ruN -x config.guess -x config.sub man-1.6e-old/man2html/Makefile.in man-1.6e/man2html/Makefile.in
--- man-1.6e-old/man2html/Makefile.in 2006-04-25 08:44:15.000000000 +0200
+++ man-1.6e/man2html/Makefile.in 2007-01-31 01:28:38.000000000 +0100
@@ -1,10 +1,11 @@
-CC = @CC@
-CFLAGS += -Wall -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS += -Wall -Wstrict-prototypes -Wmissing-prototypes $(DEBIAN_CFLAGS)
OBJECTS = man2html.o cgibase.o abbrev.o strdefs.o
bindir = $(DESTDIR)$(PREFIX)/usr/bin
mandir = $(DESTDIR)$(PREFIX)@mandir@
vardir = $(DESTDIR)$(PREFIX)/var
httpdir = $(DESTDIR)$(PREFIX)/home/httpd
+cgidir = $(DESTDIR)$(PREFIX)/usr/lib/cgi-bin/man
+sharedir = $(DESTDIR)$(PREFIX)/usr/share/man2html
cgiowner = nobody
cgigroup = nobody
@@ -28,10 +29,10 @@
# http://localhost/cgi-bin/man/man2html
# to work.
install-man-scripts:
- mkdir -p $(httpdir)/cgi-bin/man
- mkdir -p $(httpdir)/cgi-aux/man
- install -m 755 scripts/cgi-bin/man/* $(httpdir)/cgi-bin/man
- install -m 644 scripts/cgi-aux/man/* $(httpdir)/cgi-aux/man
+ mkdir -p $(cgidir)
+ mkdir -p $(sharedir)
+ install -m 755 scripts/cgi-bin/man/* $(cgidir)
+ install -m 644 scripts/cgi-aux/man/* $(sharedir)
install -d -o $(cgiowner) -g $(cgigroup) -m 775 $(vardir)/man2html
# (aux was renamed to cgi-aux since aux causes problems under DOS)
|