Patch: installation directory for repexec files in Makefile


The attached patch adds a "installrepexecdir" variable to src/Makefile and 
replaces all references to "repexecdir" in the installation targets with it. 
"installrepexecdir" is set to the same value of "repexecdir", so there is no 
functionality change in the default setup. 

I'm a developer for the GoboLinux distribution, and this helps our build 
system significantly. This change mirrors a similar functionality expressed in 
the rep-gtk Makefile ("installdir" variable).

The patch was written against sawfish 1.3. If necessary, I can adapt it submit 
it against the CVS build, but I believe it should apply without hassle.

Please consider applying, and thanks in advance.

Hisham Muhammad
diff -Naur sawfish-1.3-old/src/ sawfish-1.3/src/
--- sawfish-1.3-old/src/	2003-12-09 04:03:18.000000000 -0200
+++ sawfish-1.3/src/	2003-12-09 04:19:18.000000000 -0200
@@ -21,6 +21,8 @@
 include ../Makedefs
 top_srcdir= top_srcdir@
 srcdir= srcdir@
@@ -71,7 +73,7 @@
 	  $(rep_LIBTOOL) --mode=install $(INSTALL_PROGRAM) \
 	  $(notdir $(x)) $(DESTDIR)$(sawfishexecdir)/$(dir $(x));)
 	$(rep_INSTALL_ALIASES) -c . $(DESTDIR)$(sawfishexecdir)
-	$(rep_LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(DESTDIR)$(repexecdir)/sawfish/
+	$(rep_LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(DESTDIR)$(installrepexecdir)/sawfish/
 uninstall :
 	for p in sawfish; do \
@@ -82,10 +84,10 @@
 	for dl in $(DL_DSTS); do \
 	  $(rep_LIBTOOL) rm $(DESTDIR)${sawfishexecdir}/$$dl; \
-	$(rep_DL_UNINSTALL) $(DESTDIR)$(repexecdir)/sawfish/
+	$(rep_DL_UNINSTALL) $(DESTDIR)$(installrepexecdir)/sawfish/
 installdirs : mkinstalldirs
-	$(SHELL) $< $(DESTDIR)$(bindir) $(DESTDIR)$(repexecdir)/sawfish \
+	$(SHELL) $< $(DESTDIR)$(bindir) $(DESTDIR)$(installrepexecdir)/sawfish \
 	  $(foreach x,$(DL_DIRS),$(DESTDIR)$(sawfishexecdir)/$(x))
 .libexec :

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]