X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=Makefile.am;h=6d3f36a958637ddfc06d0134109e916a4d8f6a92;hb=930f295c8fb33beb573dafde28e38888f26d08d2;hp=de75d0f3cfbe7415f044a9ac8338a23cec6568b2;hpb=613fd4014fa5814bf2adce50574d520df8927ce1;p=chaz%2Fhomebank diff --git a/Makefile.am b/Makefile.am index de75d0f..6d3f36a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,18 @@ # HomeBank Makefile.am -ACLOCAL_AMFLAGS = -I m4 +ACLOCAL_AMFLAGS = -I m4 #SUBDIRS = src 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,18 @@ 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 +