Don't try to distribute files that don't exist
parent
f5e4e02bac
commit
8d0c2f77ec
14
Makefile.am
14
Makefile.am
|
@ -11,9 +11,7 @@ EXTRA_DIST = \
|
||||||
Makefile.msvc \
|
Makefile.msvc \
|
||||||
tools/Makefile \
|
tools/Makefile \
|
||||||
tools/ttf2c.cpp \
|
tools/ttf2c.cpp \
|
||||||
wishlist.txt
|
wishlist.txt \
|
||||||
|
|
||||||
optional_dist = \
|
|
||||||
extlib/libpng/png.h \
|
extlib/libpng/png.h \
|
||||||
extlib/libpng/pngconf.h \
|
extlib/libpng/pngconf.h \
|
||||||
extlib/libpng/pnglibconf.h \
|
extlib/libpng/pnglibconf.h \
|
||||||
|
@ -28,17 +26,9 @@ optional_dist = \
|
||||||
extlib/si/siapp.lib \
|
extlib/si/siapp.lib \
|
||||||
extlib/zlib/zconf.h \
|
extlib/zlib/zconf.h \
|
||||||
extlib/zlib/zlib.h \
|
extlib/zlib/zlib.h \
|
||||||
extlib/zlib/zutil.h \
|
extlib/zlib/zlib.lib
|
||||||
extlib/zlib/zlib.lib \
|
|
||||||
extlib/fltk-1.3.2-source.tar.gz
|
|
||||||
|
|
||||||
dist-hook:
|
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; \
|
@if fgrep '/DPACKAGE_VERSION="\"$(PACKAGE_VERSION)\""' $(srcdir)/Makefile.msvc >/dev/null; \
|
||||||
then :; \
|
then :; \
|
||||||
else \
|
else \
|
||||||
|
|
Loading…
Reference in New Issue