All of lore.kernel.org
 help / color / mirror / Atom feed
* dmraid/include Makefile.in
@ 2010-05-27 19:45 zkabelac
  0 siblings, 0 replies; 2+ messages in thread
From: zkabelac @ 2010-05-27 19:45 UTC (permalink / raw)
  To: dm-cvs, dm-devel

CVSROOT:	/cvs/dm
Module name:	dmraid
Changes by:	zkabelac@sourceware.org	2010-05-27 19:45:08

Modified files:
	include        : Makefile.in 

Log message:
	Use top_builddir
	Use new INSTALL commands
	Remove dmraid dir for remove target

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/include/Makefile.in.diff?cvsroot=dm&r1=1.2&r2=1.3

--- dmraid/include/Makefile.in	2010/03/16 16:02:16	1.2
+++ dmraid/include/Makefile.in	2010/05/27 19:45:07	1.3
@@ -1,31 +1,31 @@
 #
-# Copyright (C) 2005  Heinz Mauelshagen, Red Hat GmbH. All rights reserved.
+# Copyright (C) 2005-2010  Heinz Mauelshagen, Red Hat GmbH. All rights reserved.
 #
 # See file LICENSE at the top of this source tree for license information.
 #
 
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
+top_builddir = @top_builddir@
 
 HEADERS=$(wildcard dmraid/*.h)
 
 all:
 
-include $(top_srcdir)/make.tmpl
+include $(top_builddir)/make.tmpl
 
 .PHONY: install_dmraid_headers remove_dmraid_headers
 
 install_dmraid_headers: $(HEADERS)
-	@echo "Installing $(HEADERS) in $(DESTDIR)$(includedir)/dmraid"
-	mkdir -p $(DESTDIR)$(includedir)/dmraid
-	$(INSTALL) $(STRIP) $(HEADERS) $(DESTDIR)$(includedir)/dmraid
+	$(INSTALL_DIR) $(DESTDIR)$(includedir)/dmraid
+	$(INSTALL_DATA) $(HEADERS) $(DESTDIR)$(includedir)/dmraid
 
 install: install_dmraid_headers
 
 remove_dmraid_headers:
-	@echo "Removing $(HEADERS) from $(DESTDIR)$(includedir)/dmraid"
-	rm -f $(DESTDIR)$(includedir)/dmraid
+	@echo "Removing $(DESTDIR)$(includedir)/dmraid"
+	$(RM) -r $(DESTDIR)$(includedir)/dmraid
 
-remove:        remove_dmraid_headers
+remove: remove_dmraid_headers
 
 clean:

^ permalink raw reply	[flat|nested] 2+ messages in thread

* dmraid/include Makefile.in
@ 2010-05-28  8:44 zkabelac
  0 siblings, 0 replies; 2+ messages in thread
From: zkabelac @ 2010-05-28  8:44 UTC (permalink / raw)
  To: dm-cvs, dm-devel

CVSROOT:	/cvs/dm
Module name:	dmraid
Changes by:	zkabelac@sourceware.org	2010-05-28 08:44:58

Modified files:
	include        : Makefile.in 

Log message:
	Fix install from buildir - use srcdir for headers

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/include/Makefile.in.diff?cvsroot=dm&r1=1.3&r2=1.4

--- dmraid/include/Makefile.in	2010/05/27 19:45:07	1.3
+++ dmraid/include/Makefile.in	2010/05/28 08:44:58	1.4
@@ -8,7 +8,7 @@
 top_srcdir = @top_srcdir@
 top_builddir = @top_builddir@
 
-HEADERS=$(wildcard dmraid/*.h)
+HEADERS=$(wildcard $(top_srcdir)/include/dmraid/*.h)
 
 all:
 
@@ -18,7 +18,7 @@
 
 install_dmraid_headers: $(HEADERS)
 	$(INSTALL_DIR) $(DESTDIR)$(includedir)/dmraid
-	$(INSTALL_DATA) $(HEADERS) $(DESTDIR)$(includedir)/dmraid
+	$(INSTALL_DATA) $(HEADERS) $(DESTDIR)$(includedir)/dmraid/
 
 install: install_dmraid_headers
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-28  8:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-28  8:44 dmraid/include Makefile.in zkabelac
  -- strict thread matches above, loose matches on Subject: below --
2010-05-27 19:45 zkabelac

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.