GNOME Bugzilla – Bug 151504
can't install out of /
Last modified: 2004-12-22 21:47:04 UTC
With 2.7.92 running "make install DESTDIR=..." fails: make[3]: Leaving directory `/tmp/gnome-themes-2.7.92/gtk-themes/Glider' rm -rf /usr/share/themes/SimplySmooth/gtk-2.0 rm: cannot remove `/usr/share/themes/SimplySmooth/gtk-2.0': Permission denied make[2]: *** [install] Error 1
These changes fixe the issue: --- Makefile.am.orig 2004-08-31 13:47:21.000000000 +0200 +++ Makefile.am 2004-08-31 13:47:31.000000000 +0200 @@ -10,6 +10,6 @@ #Keep this hack in until 2.8.0 is released install: install-am - rm -rf $(datadir)/themes/SimplySmooth/gtk-2.0 + rm -rf $(DESTDIR)$(datadir)/themes/SimplySmooth/gtk-2.0 EXTRA_DIST = $(theme_DATA) --- Makefile.am.orig 2004-08-31 13:54:26.000000000 +0200 +++ Makefile.am 2004-08-31 13:54:39.000000000 +0200 @@ -39,4 +39,4 @@ #Keep this hack in until 2.8.0 is released install: install-am - rm -rf $(datadir)/themes/SimplySmooth + rm -rf $(DESTDIR)$(datadir)/themes/SimplySmooth --- Makefile.am.orig 2004-08-31 13:59:17.000000000 +0200 +++ Makefile.am 2004-08-31 13:59:28.000000000 +0200 @@ -9,7 +9,7 @@ #Keep this hack in until 2.8.0 is released install: install-am - rm -rf $(datadir)/themes/SimplySmooth + rm -rf $(DESTDIR)$(datadir)/themes/SimplySmooth DISTCLEANFILES=index.theme EXTRA_DIST=index.theme.in index.theme
With the full path this time: --- gnome-themes-2.7.92.orig/desktop-themes/Glider/Makefile.am 2004-08-17 12:27:33.000000000 +0200 +++ gnome-themes-2.7.92/desktop-themes/Glider/Makefile.am 2004-08-31 15:11:38.000000000 +0200 @@ -9,7 +9,7 @@ #Keep this hack in until 2.8.0 is released install: install-am - rm -rf $(datadir)/themes/SimplySmooth + rm -rf $(DESTDIR)$(datadir)/themes/SimplySmooth DISTCLEANFILES=index.theme EXTRA_DIST=index.theme.in index.theme diff -Nur gnome-themes-2.7.92.orig/gtk-themes/Glider/Makefile.am gnome-themes-2.7.92/gtk-themes/Glider/Makefile.am --- gnome-themes-2.7.92.orig/gtk-themes/Glider/Makefile.am 2004-08-17 12:27:33.000000000 +0200 +++ gnome-themes-2.7.92/gtk-themes/Glider/Makefile.am 2004-08-31 15:10:24.000000000 +0200 @@ -10,6 +10,6 @@ #Keep this hack in until 2.8.0 is released install: install-am - rm -rf $(datadir)/themes/SimplySmooth/gtk-2.0 + rm -rf $(DESTDIR)$(datadir)/themes/SimplySmooth/gtk-2.0 EXTRA_DIST = $(theme_DATA) diff -Nur gnome-themes-2.7.92.orig/metacity-themes/Makefile.am gnome-themes-2.7.92/metacity-themes/Makefile.am --- gnome-themes-2.7.92.orig/metacity-themes/Makefile.am 2004-08-27 17:39:08.000000000 +0200 +++ gnome-themes-2.7.92/metacity-themes/Makefile.am 2004-08-31 15:10:38.000000000 +0200 @@ -39,4 +39,4 @@ #Keep this hack in until 2.8.0 is released install: install-am - rm -rf $(datadir)/themes/SimplySmooth + rm -rf $(DESTDIR)$(datadir)/themes/SimplySmooth
Oops, thought I'd fixed that one up already. Awaiting release team approval to commit.
Committed.