]> Dogcows Code - chaz/homebank/blobdiff - Makefile.am
import homebank-5.1.7
[chaz/homebank] / Makefile.am
index 0a662030ff8fc8ca804ced95a7eaae5a6dfba5a7..e5c6cfec6cbd8e6459ce23702a7de23039a48241 100644 (file)
@@ -4,6 +4,13 @@
 SUBDIRS = src data images mime pixmaps themes po doc
 
 
+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
 
@@ -18,3 +25,12 @@ DISTCLEANFILES = ... intltool-extract \
                  intltool-merge \
                  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
This page took 0.017124 seconds and 4 git commands to generate.