[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandoc-source
Subject:    mdocml: Fix the "depend" target and regenerate Makefile.depend: * do not
From:       schwarze () mdocml ! bsd ! lv
Date:       2015-07-14 23:17:00
Message-ID: 9968663660874603581.enqueue () fantadrom ! bsd ! lv
[Download RAW message or body]

Log Message:
-----------
Fix the "depend" target and regenerate Makefile.depend:
* do not process the test-*.c files, they are not built via make
* add the missing compat_stringlist.c and soelim.c
* read.c now uses roff_int.h
* roff.c no longer uses libmdoc.h

Modified Files:
--------------
    mdocml:
        Makefile
        Makefile.depend

Revision Data
-------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/Makefile,v
retrieving revision 1.463
retrieving revision 1.464
diff -LMakefile -LMakefile -u -p -r1.463 -r1.464
--- Makefile
+++ Makefile
@@ -102,8 +102,7 @@ SRCS		 = att.c \
 		   term.c \
 		   term_ascii.c \
 		   term_ps.c \
-		   tree.c \
-		   $(TESTSRCS)
+		   tree.c
 
 DISTFILES	 = INSTALL \
 		   LICENSE \
@@ -164,7 +163,8 @@ DISTFILES	 = INSTALL \
 		   tbl.3 \
 		   tbl.7 \
 		   term.h \
-		   $(SRCS)
+		   $(SRCS) \
+		   $(TESTSRCS)
 
 LIBMAN_OBJS	 = man.o \
 		   man_hash.o \
Index: Makefile.depend
===================================================================
RCS file: /home/cvs/mdocml/mdocml/Makefile.depend,v
retrieving revision 1.12
retrieving revision 1.13
diff -LMakefile.depend -LMakefile.depend -u -p -r1.12 -r1.13
--- Makefile.depend
+++ Makefile.depend
@@ -10,6 +10,7 @@ compat_ohash.o: compat_ohash.c config.h 
 compat_reallocarray.o: compat_reallocarray.c config.h
 compat_sqlite3_errstr.o: compat_sqlite3_errstr.c config.h
 compat_strcasestr.o: compat_strcasestr.c config.h
+compat_stringlist.o: compat_stringlist.c config.h compat_stringlist.h
 compat_strlcat.o: compat_strlcat.c config.h
 compat_strlcpy.o: compat_strlcpy.c config.h
 compat_strsep.o: compat_strsep.c config.h
@@ -46,8 +47,9 @@ mdoc_validate.o: mdoc_validate.c config.
 msec.o: msec.c config.h mandoc.h libmandoc.h msec.in
 out.o: out.c config.h mandoc_aux.h mandoc.h out.h
 preconv.o: preconv.c config.h mandoc.h libmandoc.h
-read.o: read.c config.h mandoc_aux.h mandoc.h roff.h mdoc.h man.h libmandoc.h
-roff.o: roff.c config.h mandoc.h mandoc_aux.h roff.h libmandoc.h roff_int.h \
libroff.h libmdoc.h predefs.in +read.o: read.c config.h mandoc_aux.h mandoc.h roff.h \
mdoc.h man.h libmandoc.h roff_int.h +roff.o: roff.c config.h mandoc.h mandoc_aux.h \
roff.h libmandoc.h roff_int.h libroff.h predefs.in +soelim.o: soelim.c config.h \
compat_stringlist.h  st.o: st.c config.h roff.h mdoc.h libmdoc.h st.in
 tbl.o: tbl.c config.h mandoc.h mandoc_aux.h libmandoc.h libroff.h
 tbl_data.o: tbl_data.c config.h mandoc.h mandoc_aux.h libmandoc.h libroff.h
@@ -59,22 +61,3 @@ term.o: term.c config.h mandoc.h mandoc_
 term_ascii.o: term_ascii.c config.h mandoc.h mandoc_aux.h out.h term.h manconf.h \
main.h  term_ps.o: term_ps.c config.h mandoc_aux.h out.h term.h manconf.h main.h
 tree.o: tree.c config.h mandoc.h roff.h mdoc.h man.h main.h
-test-dirent-namlen.o: test-dirent-namlen.c
-test-fgetln.o: test-fgetln.c
-test-fts.o: test-fts.c
-test-getsubopt.o: test-getsubopt.c
-test-isblank.o: test-isblank.c
-test-mkdtemp.o: test-mkdtemp.c
-test-mmap.o: test-mmap.c
-test-ohash.o: test-ohash.c
-test-reallocarray.o: test-reallocarray.c
-test-sqlite3.o: test-sqlite3.c
-test-sqlite3_errstr.o: test-sqlite3_errstr.c
-test-strcasestr.o: test-strcasestr.c
-test-strlcat.o: test-strlcat.c
-test-strlcpy.o: test-strlcpy.c
-test-strptime.o: test-strptime.c
-test-strsep.o: test-strsep.c
-test-strtonum.o: test-strtonum.c
-test-vasprintf.o: test-vasprintf.c
-test-wchar.o: test-wchar.c
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic