PERFORCE change 182234 for review
Benjamin Fiedler
bfiedler at skunkworks.freebsd.org
Wed Aug 11 18:26:36 UTC 2010
http://p4web.freebsd.org/@@182234?ac=10
Change 182234 by bfiedler at freebsd-home on 2010/08/11 03:28:39
Fix tabs in makefile so buildworld completes
Affected files ...
.. //depot/projects/soc2010/bsdtextproc/src/usr.bin/mandoc/Makefile#3 edit
Differences ...
==== //depot/projects/soc2010/bsdtextproc/src/usr.bin/mandoc/Makefile#3 (text+ko) ====
@@ -24,33 +24,38 @@
CFLAGS += $(WFLAGS) $(VFLAGS) -DHAVE_CONFIG_H -DUGLY
install:
- ( mkdir -p $(DESTDIR)$(BINDIR) ; \
- mkdir -p $(DESTDIR)$(EXAMPLEDIR) ; \
- mkdir -p $(DESTDIR)$(MANDIR)/man1 ; \
- mkdir -p $(DESTDIR)$(MANDIR)/man7 ; \
- $(INSTALL_PROGRAM) mandoc $(DESTDIR)$(BINDIR) ; \
- $(INSTALL_MAN) mandoc.1 $(DESTDIR)$(MANDIR)/man1 ; \
- $(INSTALL_MAN) man.7 mdoc.7 roff.7 mandoc_char.7 $(DESTDIR)$(MANDIR)/man7 ; \
- $(INSTALL_DATA) example.style.css $(DESTDIR)$(EXAMPLEDIR) \
- )
+ mkdir -p $(DESTDIR)$(BINDIR)
+ mkdir -p $(DESTDIR)$(EXAMPLEDIR)
+ mkdir -p $(DESTDIR)$(MANDIR)/man1
+ mkdir -p $(DESTDIR)$(MANDIR)/man7
+ $(INSTALL_PROGRAM) mandoc $(DESTDIR)$(BINDIR)
+ $(INSTALL_MAN) mandoc.1 $(DESTDIR)$(MANDIR)/man1
+ $(INSTALL_MAN) man.7 mdoc.7 roff.7 mandoc_char.7 $(DESTDIR)$(MANDIR)/man7
+ $(INSTALL_DATA) example.style.css $(DESTDIR)$(EXAMPLEDIR)
PROG= mandoc
LINKS= mdocml
MAN= mandoc.1 man.7 mandoc_char.7 mdoc.7 roff.7
MLINKS= mandoc.1 mdocml.1
+GENSRCS= ${MDOCMLDIR}/config.h
+
SRCS= arch.c att.c chars.c compat.c html.c lib.c main.c man.c \
man_action.c man_argv.c man_hash.c man_html.c man_macro.c man_term.c \
man_validate.c mandoc.c mdoc.c mdoc_action.c mdoc_argv.c mdoc_hash.c \
mdoc_html.c mdoc_macro.c mdoc_strings.c mdoc_term.c mdoc_validate.c \
- msec.c out.c roff.c st.c term.c tree.c vol.c
+ msec.c out.c roff.c st.c term.c tree.c vol.c ${GENSRCS}
-config.h: config.h.pre config.h.post
- ( cat ${.ALLSRCS}
- ) > ${.TARGET}
+${MDOCMLDIR}/config.h: config.h.pre config.h.post
+ rm -f config.log
+ ( cat ${MDOCMLDIR}/config.h.pre; \
+ echo ""; \
+ echo '#define HAVE_STRLCAT'; \
+ echo '#define HAVE_STRLCPY'; \
+ echo ""; \
+ cat ${MDOCMLDIR}/config.h.post \
+ ) > ${.TARGET}
-GENSRCS+= config.h
-CLEANFILES= config.h config.log
-
+CLEANFILES= config.h config.log
WARNS?= 3
More information about the p4-projects
mailing list