SVN: geninitrd/trunk/Makefile

glen glen at pld-linux.org
Sat Jan 2 16:03:14 CET 2010


Author: glen
Date: Sat Jan  2 16:03:13 2010
New Revision: 11083

Modified:
   geninitrd/trunk/Makefile
Log:
- avoid creating empty manual

Modified: geninitrd/trunk/Makefile
==============================================================================
--- geninitrd/trunk/Makefile	(original)
+++ geninitrd/trunk/Makefile	Sat Jan  2 16:03:13 2010
@@ -20,7 +20,7 @@
 	install -m644 geninitrd.sysconfig $(DESTDIR)$(sysconfigdir)/geninitrd
 
 geninitrd.8: geninitrd.8.xml
-	refentry2man < geninitrd.8.xml > geninitrd.8
+	refentry2man < $< > $@.tmp && mv $@.tmp $@
 
 dist: geninitrd-$(VERSION).tar.gz
 


More information about the pld-cvs-commit mailing list