1 DISTDIR = @PACKAGE@-@VERSION@
3 EXTRA_DIST = BUGS LICENSE BUGS-GDOME2 MODES PATTERNS aclocal.m4 editex.pc.in debian
4 SUBDIRS = src test ocaml textomml xsl dict
7 pkgconfigdir = $(libdir)/pkgconfig
8 pkgconfig_DATA = editex.pc
11 cd ..; tar cvfz @PACKAGE@-@VERSION@-`date|tr ' ' '_'|tr ':' '_'`.tar.gz @PACKAGE@
14 -rm -f `find . -name "*~"`
18 CFILES=`find . -name "*.c"`; \
19 HFILES=`find . -name "*.h"`; \
20 CCFILES=`find . -name "*.cc"`; \
21 HHFILES=`find . -name "*.hh"`; \
22 ICCFILES=`find . -name "*.icc"`; \
23 wc -l $$CFILES $$HFILES $$CCFILES $$HHFILES $$ICCFILES | tail -n 1 \
27 if [ -d $(DISTDIR)/ ]; then rm -rf $(DISTDIR); else true; fi
28 tar xvzf $(DISTDIR).tar.gz
29 (cd $(DISTDIR)/ && rm -rf debian/CVS/ && debuild)