Group :: Education
RPM: celestia
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: celestia-1.4.0-install.patch
Download
Download
--- Makefile.am~ 2005-11-17 19:28:28 +0300
+++ Makefile.am 2006-01-11 12:41:54 +0300
@@ -31,11 +31,11 @@
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
install-data-hook:
- if [ "$(kde_datadir)" -a -d $(kde_datadir)/@PACKAGE@ -a ! -h $(kde_datadir)/@PACKAGE@ ] ; then \
- mv -f -b $(kde_datadir)/@PACKAGE@/* $(datadir)/@PACKAGE@/ ; \
- rmdir $(kde_datadir)/@PACKAGE@ ; \
+ if [ "$(DESTDIR)$(kde_datadir)" -a -d $(DESTDIR)$(kde_datadir)/@PACKAGE@ -a ! -h $(DESTDIR)$(kde_datadir)/@PACKAGE@ ] ; then \
+ mv -f -b $(DESTDIR)$(kde_datadir)/@PACKAGE@/* $(DESTDIR)$(datadir)/@PACKAGE@/ ; \
+ rmdir $(DESTDIR)$(kde_datadir)/@PACKAGE@ ; \
fi
- if [ "$(kde_datadir)" -a ! -h $(kde_datadir)/@PACKAGE@ ] ; then \
- ln -s $(datadir)/@PACKAGE@ $(kde_datadir)/@PACKAGE@ ; \
+ if [ "$(DESTDIR)$(kde_datadir)" -a ! -h $(DESTDIR)$(kde_datadir)/@PACKAGE@ ] ; then \
+ ln -s $(datadir)/@PACKAGE@ $(DESTDIR)$(kde_datadir)/@PACKAGE@ ; \
fi