X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank;a=blobdiff_plain;f=Makefile.am;fp=Makefile.am;h=e5c6cfec6cbd8e6459ce23702a7de23039a48241;hp=0a662030ff8fc8ca804ced95a7eaae5a6dfba5a7;hb=d11c8dd3275ed2a4a35598e69c0804dcf9435766;hpb=2ef3e601408ebaeeaf5f40d6967664b012a49979 diff --git a/Makefile.am b/Makefile.am index 0a66203..e5c6cfe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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