Use $(DESTDIR)$(support_scriptdir) in lxappearance/Makefile.am.
authorAndrew Lee <ajqlee@debian.org>
Sun, 20 Apr 2008 06:05:07 +0000 (06:05 +0000)
committerAndrew Lee <ajqlee@debian.org>
Sun, 20 Apr 2008 06:05:07 +0000 (06:05 +0000)
Makefile.am
po/Makefile.in.in

index 9304611..c184865 100644 (file)
@@ -2,19 +2,19 @@
 
 SUBDIRS = src po
 
-scriptdir=$(datadir)/lxappearance
-script_DATA= \
+support_scriptdir=$(datadir)/lxappearance
+support_script_DATA= \
         scripts/install-icon-theme.sh
 
 desktopdir=$(datadir)/applications
 desktop_DATA=lxappearance.desktop
 
 install-data-hook:
-       for script in $(scriptdir)/*.sh; do \
+       for script in $(DESTDIR)$(support_scriptdir)/*.sh; do \
            chmod +x $$script; \
        done
 
 EXTRA_DIST = \
        autogen.sh \
-       $(script_DATA) \
+       $(support_script_DATA) \
        $(desktop_DATA)
index 7c26df4..19fc01d 100644 (file)
@@ -196,12 +196,12 @@ dvi info tags TAGS ID:
 
 mostlyclean:
        rm -f core core.* *.pox $(GETTEXT_PACKAGE).po *.old.po cat-id-tbl.tmp
-       rm -fr *.o
+       rm -fr *.o *.gmo
 
 clean: mostlyclean
 
 distclean: clean
-       rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m
+       rm -f Makefile Makefile.in POTFILES *.mo *.gmo *.msg *.cat *.cat.m
 
 maintainer-clean: distclean
        @echo "This command is intended for maintainers to use;"