patches/gnokii-03-makefile.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 811 fca28b225e53
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
811
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
     1
--- gnokii-0.6.22/xgnokii/Makefile.orig	2007-11-24 17:01:01.000000000 +0530
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
     2
+++ gnokii-0.6.22/xgnokii/Makefile	2008-01-21 23:35:24.928984000 +0530
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
     3
@@ -51,10 +51,14 @@
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
     4
 	$(LIBTOOL) --mode=install $(INSTALL) xgnokii $(DESTDIR)$(xbindir)
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
     5
 	$(INSTALL) -d $(DESTDIR)$(xgnokii_libdir)/help
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
     6
 	( cd $(HELP_DIR); \
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
     7
-	  $(FIND) . -type d \! -path "*CVS*" \
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
     8
-	       -exec $(INSTALL) -d $(DESTDIR)$(xgnokii_libdir)/help/{} \; ; \
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
     9
-	  $(FIND) . -type f \! -path "*CVS*" \
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
    10
-	       -exec $(INSTALL_DATA) {} $(DESTDIR)$(xgnokii_libdir)/help/{} \; \
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
    11
+	  for d in `$(FIND) . -type d | grep -v CVS`; \
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
    12
+	  do \
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
    13
+	    $(INSTALL) -d $(DESTDIR)$(xgnokii_libdir)/help/$$d; \
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
    14
+	  done; \
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
    15
+	  for f in `$(FIND) . -type f | grep -v CVS`; \
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
    16
+	  do \
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
    17
+	    $(INSTALL_DATA) $$f $(DESTDIR)$(xgnokii_libdir)/help/$$f; \
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
    18
+	  done; \
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
    19
 	)
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
    20
 	$(INSTALL_DATA) ../Docs/CREDITS $(DESTDIR)$(xgnokii_libdir)/help/en_US
fca28b225e53 SFEgnokii.spec
moinakg
parents:
diff changeset
    21
 	$(INSTALL_DATA) ../COPYING $(DESTDIR)$(xgnokii_libdir)/help/en_US