Skip to contentSkip to conversation

dmraid/man Makefile.in

PATCH [email protected] 1 participant 1 message May 30, 2010 Device mapper

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: dmraid
Changes by: [email protected] 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

man/Makefile.in +7 -14
@@ -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))