From fa7c41fc95f82853f3c3fb43dd33703ba996b882 Mon Sep 17 00:00:00 2001 From: Bruno Coudoin Date: Tue, 28 Oct 2008 23:07:09 +0000 Subject: configure fixes and cleanup by Yavor Doganov. It is no more needed to copy config.rpath localy. svn path=/trunk/; revision=3586 --- (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 06c410a..4506c54 100644 --- a/Makefile.am +++ b/Makefile.am @@ -57,16 +57,18 @@ EXTRA_DIST = \ config.h.mingw.in Makefile.mingw.in global_win32.mak gcompris.ico gc_admin.ico gcompris-uninstal.ico \ gcompris-installer.nsi.in - distcore = $(PACKAGE)-core-$(VERSION) install-data-local: @$(NORMAL_INSTALL) if test -d $(srcdir)/$(PACKAGE_DATA_DIR); then \ $(mkinstalldirs) $(DESTDIR)/$(pkgdatadir)/$(PACKAGE_DATA_DIR); \ - cd $(srcdir)/$(PACKAGE_DATA_DIR) ; tar cf - --exclude "Makefile.in" --exclude "*.in" --exclude "*~" --exclude "Makefile" --exclude "Makefile.am" --exclude .svn * | ( cd $(DESTDIR)/$(pkgdatadir)/$(PACKAGE_DATA_DIR) ; tar xf -) ; cd .. ; \ + cd $(srcdir)/$(PACKAGE_DATA_DIR) ; tar cf - --exclude "Makefile.in" --exclude "*.in" --exclude "*~" --exclude "Makefile" --exclude "Makefile.am" --exclude .svn --mode 644 * | ( cd $(DESTDIR)/$(pkgdatadir)/$(PACKAGE_DATA_DIR) ; tar xf - ; find -type d -exec chmod 755 '{}' \;) ; cd .. ; \ fi +uninstall-local: + -find $(DESTDIR)/$(pkgdatadir)/$(PACKAGE_DATA_DIR) -name '*' -delete + dist-hook: if test -d $(PACKAGE_DATA_DIR); then \ $(mkinstalldirs) $(distdir)/$(PACKAGE_DATA_DIR); \ @@ -74,7 +76,8 @@ dist-hook: fi -CONFIG_CLEAN_FILES = gcompris.desktop gcompris-edit.desktop config.h.mingw +CONFIG_CLEAN_FILES = gcompris.desktop gcompris-edit.desktop config.h.mingw \ + gcompris-installer.nsi Makefile.mingw clean-local: rm -f intltool-extract intltool-merge intltool-update -- cgit v0.9.1