[poppler] test: ChangeLog,1.3,1.4 Makefile,1.3,1.4

Jeff Muizelaar jrmuizel at freedesktop.org
Sat May 21 09:59:04 PDT 2005


Update of /cvs/poppler/test
In directory gabe:/tmp/cvs-serv20054

Modified Files:
	ChangeLog Makefile 
Log Message:
2005-05-21  Jeff Muizelaar  <jeff at infidigm.net>

	* Makefile:
	fix dependencies so we build thing when we need them


Index: ChangeLog
===================================================================
RCS file: /cvs/poppler/test/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ChangeLog	21 May 2005 16:40:35 -0000	1.3
+++ ChangeLog	21 May 2005 16:59:02 -0000	1.4
@@ -1,3 +1,8 @@
+2005-05-21  Jeff Muizelaar  <jeff at infidigm.net>
+
+	* Makefile:
+	fix dependencies so we build thing when we need them
+
 2005-05-21  Jeff Muizelaar <jeff at infidigm.net>
 
 	* Makefile:

Index: Makefile
===================================================================
RCS file: /cvs/poppler/test/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile	21 May 2005 16:40:35 -0000	1.3
+++ Makefile	21 May 2005 16:59:02 -0000	1.4
@@ -1,7 +1,9 @@
 CFLAGS = $(shell pkg-config --cflags poppler-glib)
 LDLIBS = $(shell pkg-config --libs poppler-glib)
 
-all : test-poppler
+PDFS = $(addprefix tests/, mask.pdf text.pdf image.pdf)
+
+all : test-poppler $(PDFS)
 
 test-poppler: buffer-diff.o  read-png.o  test-poppler.o  write-png.o  xmalloc.o
 
@@ -9,9 +11,5 @@
 	rm test-poppler *.o tests/*out.png
 
 # don't build the pdfs by default because some people might not have the right perl setup
-PDFS = mask.pdf text.pdf image.pdf
-
-tests: $(PDFS)
-
-$(PDFS): %.pdf: test-gen/%.pl
-	cd test-gen && ./$(notdir $<) ../tests/$@
+$(PDFS): tests/%.pdf: test-gen/%.pl
+	cd test-gen && ./$(notdir $<) ../$@



More information about the poppler mailing list