dmraid/man Makefile.in

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



CVSROOT:	/cvs/dm
Module name:	dmraid
Changes by:	zkabelac@xxxxxxxxxxxxxx	2010-05-30 17:11:30

Modified files:
	man            : Makefile.in 

Log message:
	Simplify, keep all executed commands visible

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

--- dmraid/man/Makefile.in	2010/05/28 08:40:52	1.4
+++ dmraid/man/Makefile.in	2010/05/30 17:11:30	1.5
@@ -14,20 +14,13 @@
 
 include $(top_builddir)/make.tmpl
 
-.PHONY: install_dmraid_man remove_dmraid_man
+.PHONY: install_dmraid_man8
 
-%_install: %.8
-	$(INSTALL_DATA) -D $< $(DESTDIR)$(MAN8DIR)/$(<F)
+install_dmraid_man8: $(MAN8)
+	$(INSTALL_DIR) $(DESTDIR)$(MAN8DIR)
+	$(INSTALL_DATA) $? $(DESTDIR)$(MAN8DIR)
 
-install_dmraid_man: $(MAN8:.8=_install)
+install: install_dmraid_man8
 
-install: install_dmraid_man
-
-remove_dmraid_man:
-	@echo "Removing $(MAN8) in $(DESTDIR)$(MAN8DIR)"; \
-	for f in $(MAN8); \
-	do \
-	   $(RM) $(DESTDIR)$(MAN8DIR)/$$f; \
-	done
-
-remove: remove_dmraid_man
+remove:
+	$(RM) $(addprefix $(DESTDIR)$(MAN8DIR)/,$(MAN8))

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel


[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux