]> Dogcows Code - chaz/homebank/blobdiff - Makefile.am
Merge branch 'master' into ext-perl
[chaz/homebank] / Makefile.am
index de75d0f3cfbe7415f044a9ac8338a23cec6568b2..45d1f49f22cf51ba7d7828c84a9bfada8a7f6952 100644 (file)
@@ -6,6 +6,13 @@ ACLOCAL_AMFLAGS        = -I m4
 SUBDIRS = src data images mime pixmaps themes po doc plugins
 
 
+datasdir   = $(datadir)/homebank/datas/
+datas_DATA = \
+ChangeLog 
+
+EXTRA_DIST   = $(datas_DATA)
+
+
 # don't forget to do a 'make check' 
 # to ensure all files are in po/POTFILES.in
 
@@ -21,8 +28,17 @@ DISTCLEANFILES = ... intltool-extract \
                  intltool-update \
                  po/.intltool-merge-cache
 
+# we clean every folder under /usr/share/homebank as well on uninstall
+uninstall-hook:
+       -rm -rf $(datadir)/homebank/datas
+       -rm -rf $(datadir)/homebank/help
+       -rm -rf $(datadir)/homebank/icons
+       -rm -rf $(datadir)/homebank/images
+#-rmdir $(datadir)/homebank
+
 run: all
        PERL5LIB=src src/homebank
 
 debug: all
        PERL5LIB=src gdb src/homebank
+
This page took 0.022727 seconds and 4 git commands to generate.