1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
# Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = gnu
SUBDIRS = src doc checks debian
# Don't put this in yet as yydecode.sf.net links to README from CVS.
#CLEANFILES = README
MAINTAINERCLEANFILES = aclocal.m4 aclocal.m4~ autoscan.log config.log \
configure configure.scan COPYING depcomp INSTALL install-sh \
Makefile.in missing mkinstalldirs stamp-h.in
#EXTRA_DIST = ABOUT FAQ TODO
TEXT_FILES = AUTHORS ChangeLog COPYING INSTALL INSTALL.w32 NEWS README THANKS
UPDATE_PATH=~/html/liyang/download/yydecode
distdir_w32=$(distdir)-bin.w32
dist-w32:
-rm -rf $(distdir_w32)
mkdir $(distdir_w32)
( cd src ; make strip )
cp src/@PACKAGE@.exe $(distdir_w32)/
cp $(TEXT_FILES) $(distdir_w32)
( cd $(distdir_w32) ; todos $(TEXT_FILES) ; \
for i in $(TEXT_FILES) ; do mv $$i $$i.txt ; done )
-chmod -R a+r $(distdir_w32)
zip -r -9 - $(distdir_w32) > $(distdir_w32).zip
-rm -rf $(distdir_w32)
|