Don't try to distribute files that don't exist

pull/3/head
Roland Lutz 2015-03-02 20:56:33 +01:00
parent f5e4e02bac
commit 8d0c2f77ec
1 changed files with 2 additions and 12 deletions

View File

@ -11,9 +11,7 @@ EXTRA_DIST = \
Makefile.msvc \
tools/Makefile \
tools/ttf2c.cpp \
wishlist.txt
optional_dist = \
wishlist.txt \
extlib/libpng/png.h \
extlib/libpng/pngconf.h \
extlib/libpng/pnglibconf.h \
@ -28,17 +26,9 @@ optional_dist = \
extlib/si/siapp.lib \
extlib/zlib/zconf.h \
extlib/zlib/zlib.h \
extlib/zlib/zutil.h \
extlib/zlib/zlib.lib \
extlib/fltk-1.3.2-source.tar.gz
extlib/zlib/zlib.lib
dist-hook:
for file in $(optional_dist); do \
test -f $(srcdir)/$$file || continue; \
dir=`dirname $$file`; \
test -d $(distdir)/$$dir || mkdir $(distdir)/$$dir || exit; \
cp -p $(srcdir)/$$file $(distdir)/$$file || exit; \
done
@if fgrep '/DPACKAGE_VERSION="\"$(PACKAGE_VERSION)\""' $(srcdir)/Makefile.msvc >/dev/null; \
then :; \
else \