]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/DEVEL/mathml_editor/Makefile.am
reorganization continues ...
[helm.git] / helm / software / DEVEL / mathml_editor / Makefile.am
diff --git a/helm/software/DEVEL/mathml_editor/Makefile.am b/helm/software/DEVEL/mathml_editor/Makefile.am
new file mode 100644 (file)
index 0000000..aa15ecb
--- /dev/null
@@ -0,0 +1,31 @@
+DISTDIR = @PACKAGE@-@VERSION@
+
+EXTRA_DIST = BUGS LICENSE BUGS-GDOME2 MODES PATTERNS aclocal.m4 editex.pc.in debian
+SUBDIRS = src test ocaml textomml xsl dict
+CLEANFILES = core
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = editex.pc
+
+backup:
+       cd ..; tar cvfz @PACKAGE@-@VERSION@-`date|tr ' ' '_'|tr ':' '_'`.tar.gz @PACKAGE@
+
+cleanbak:
+       -rm -f `find . -name "*~"`
+
+lc:
+       @( \
+       CFILES=`find . -name "*.c"`; \
+       HFILES=`find . -name "*.h"`; \
+       CCFILES=`find . -name "*.cc"`; \
+       HHFILES=`find . -name "*.hh"`; \
+       ICCFILES=`find . -name "*.icc"`; \
+       wc -l $$CFILES $$HFILES $$CCFILES $$HHFILES $$ICCFILES | tail -n 1 \
+       )
+
+deb: dist
+       if [ -d $(DISTDIR)/ ]; then rm -rf $(DISTDIR); else true; fi
+       tar xvzf $(DISTDIR).tar.gz
+       (cd $(DISTDIR)/ && rm -rf debian/CVS/ && debuild)
+       rm -rf $(DISTDIR)
+