X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=Makefile.am;h=45d1f49f22cf51ba7d7828c84a9bfada8a7f6952;hb=35b9973e4de7d69ad8841ead996a2e6cf1d85f08;hp=0a662030ff8fc8ca804ced95a7eaae5a6dfba5a7;hpb=996fa4ab9f6b836001f8ad0eecbfd3821687fea7;p=chaz%2Fhomebank diff --git a/Makefile.am b/Makefile.am index 0a66203..45d1f49 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,16 @@ # HomeBank Makefile.am +ACLOCAL_AMFLAGS = -I m4 + #SUBDIRS = src -SUBDIRS = src data images mime pixmaps themes po doc +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' @@ -18,3 +27,18 @@ 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 + +run: all + PERL5LIB=src src/homebank + +debug: all + PERL5LIB=src gdb src/homebank +