summaryrefslogtreecommitdiff
path: root/package/dmraid/dmraid-fix-make-remove.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-09-16 15:26:25 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-09-16 15:35:23 +0200
commit0a5ec788662b9b18aa65806a706904bf9860b837 (patch)
treedb2f346c01a296d724ea800f1d9baa1279d8d2a8 /package/dmraid/dmraid-fix-make-remove.patch
parent78e7c0b642a0decf6dad37026b3f70bb480f645b (diff)
dmraid: misc cleanup
Fix install into staging (YES instead of yes), fix uninstall target, use default target-install handling, install headers/lib/man pages into target if requested. A small patch is needed for 'make remove' to work. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/dmraid/dmraid-fix-make-remove.patch')
-rw-r--r--package/dmraid/dmraid-fix-make-remove.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/dmraid/dmraid-fix-make-remove.patch b/package/dmraid/dmraid-fix-make-remove.patch
new file mode 100644
index 000000000..0d6ae7571
--- /dev/null
+++ b/package/dmraid/dmraid-fix-make-remove.patch
@@ -0,0 +1,22 @@
+[PATCH]: dmraid: fix make remove for header files
+
+prefix/include/dmraid is not empty, so we need rm -rf
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ 1.0.0.rc15/include/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: dmraid/1.0.0.rc15/include/Makefile.in
+===================================================================
+--- dmraid.orig/1.0.0.rc15/include/Makefile.in
++++ dmraid/1.0.0.rc15/include/Makefile.in
+@@ -24,7 +24,7 @@ install: install_dmraid_headers
+
+ remove_dmraid_headers:
+ @echo "Removing $(HEADERS) from $(includedir)/dmraid"
+- rm -f $(includedir)/dmraid
++ rm -rf $(includedir)/dmraid
+
+ remove: remove_dmraid_headers
+