]> git.pld-linux.org Git - packages/celestia.git/commitdiff
- dont remove this code, its neccesary (although it should be done in more
authorhavner <havner@pld-linux.org>
Thu, 29 Jun 2006 22:56:09 +0000 (22:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  pretty way), just add DESTDIR

Changed files:
    celestia-makefile.patch -> 1.3

celestia-makefile.patch

index 20cab3c7487e3f9bac3544cc87a31e88e6be3b0f..3fe23ad330669be7b8254f58ab24ccac8cc681e4 100644 (file)
@@ -1,15 +1,20 @@
-diff -ruN celestia-1.4.0./Makefile.am celestia-1.4.0/Makefile.am
---- celestia-1.4.0./Makefile.am        2005-12-25 00:36:47.000000000 +0100
-+++ celestia-1.4.0/Makefile.am 2005-12-25 00:38:04.094027272 +0100
-@@ -31,11 +31,3 @@
-       cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
+diff -urN celestia-1.4.1.orig/Makefile.am celestia-1.4.1/Makefile.am
+--- celestia-1.4.1.orig/Makefile.am    2006-02-03 19:04:33.000000000 +0100
++++ celestia-1.4.1/Makefile.am 2006-06-30 00:27:56.358471750 +0200
+@@ -66,11 +66,11 @@
+       )
  
  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@ ; \
--      fi
++      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@ ; \
--      fi
--
++      if [ "$(DESTDIR)$(kde_datadir)" -a ! -h $(DESTDIR)$(kde_datadir)/@PACKAGE@ ] ; then \
++              ln -s $(datadir)/@PACKAGE@ $(DESTDIR)$(kde_datadir)/@PACKAGE@ ; \
+       fi
This page took 0.335224 seconds and 4 git commands to generate.