makefile.mk (7871dc3e) makefile.mk (7b1fc8d2)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 26 unchanged lines hidden (view full) ---

35@all:
36 @echo "PDF Import extension disabled."
37.ENDIF
38
39# --- Targets ------------------------------------------------------
40
41.INCLUDE : target.mk
42
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 26 unchanged lines hidden (view full) ---

35@all:
36 @echo "PDF Import extension disabled."
37.ENDIF
38
39# --- Targets ------------------------------------------------------
40
41.INCLUDE : target.mk
42
43#ALLTAR : $(MISC)$/test_0_succeeded $(MISC)$/test_1_succeeded
43#ALLTAR : $(MISC)$/test_0_succeeded
44
45$(MISC)$/test_0_succeeded: $(BIN)$/xpdfimport$(EXECPOST) binary_0_out.def text_0_out.def testinput.pdf
46 $(BIN)$/xpdfimport -f $(MISC)$/binary_0_out testinput.pdf > $(MISC)$/text_0_out
47 diff --strip-trailing-cr $(MISC)$/binary_0_out binary_0_out.def
48 diff --strip-trailing-cr $(MISC)$/text_0_out text_0_out.def
49 $(TOUCH) $@
50
44
45$(MISC)$/test_0_succeeded: $(BIN)$/xpdfimport$(EXECPOST) binary_0_out.def text_0_out.def testinput.pdf
46 $(BIN)$/xpdfimport -f $(MISC)$/binary_0_out testinput.pdf > $(MISC)$/text_0_out
47 diff --strip-trailing-cr $(MISC)$/binary_0_out binary_0_out.def
48 diff --strip-trailing-cr $(MISC)$/text_0_out text_0_out.def
49 $(TOUCH) $@
50
51$(MISC)$/test_1_succeeded: $(BIN)$/xpdfimport$(EXECPOST) binary_1_out.def text_1_out.def book.pdf
52 $(BIN)$/xpdfimport -f $(MISC)$/binary_1_out book.pdf > $(MISC)$/text_1_out
53 diff --strip-trailing-cr $(MISC)$/binary_1_out binary_1_out.def
54 diff --strip-trailing-cr $(MISC)$/text_1_out text_1_out.def
55 $(TOUCH) $@
51# This test is disabled because
52# - the PDF import extension is not part of the AOO build #i118592#
53# - the test files are too huge (75MB + 5MB + 500kB) to remain in the tree
54# The test files are still available at
55# http://svn.apache.org/repos/asf/openoffice/trunk/main/sdext/source/pdfimport/xpdftest/binary_1_out.def
56# http://svn.apache.org/repos/asf/openoffice/trunk/main/sdext/source/pdfimport/xpdftest/text_1_out.def
57# http://svn.apache.org/repos/asf/openoffice/trunk/main/sdext/source/pdfimport/xpdftest/book.pdf
58# if you download them you can enable the test below:
59
60#$(MISC)$/test_1_succeeded: $(BIN)$/xpdfimport$(EXECPOST) binary_1_out.def text_1_out.def book.pdf
61# $(BIN)$/xpdfimport -f $(MISC)$/binary_1_out book.pdf > $(MISC)$/text_1_out
62# diff --strip-trailing-cr $(MISC)$/binary_1_out binary_1_out.def
63# diff --strip-trailing-cr $(MISC)$/text_1_out text_1_out.def
64# $(TOUCH) $@
65