We have to create $(DESTDIR)$(man1dir). On normal distributions it
should exist, but you cannot rely on that. If you for example only build
dotgnu for a cross platform it might happen that the $(DESTDIR) is empty
when we start building.

Signed-off-by: Robert Schwebel <[EMAIL PROTECTED]>

 ilasm/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

Index: ilasm/Makefile.am
===================================================================
--- ilasm/Makefile.am.orig
+++ ilasm/Makefile.am
@@ -27,6 +27,7 @@ AM_CFLAGS = -I$(top_srcdir)/include
 
 install-data-local:
        rm -f $(DESTDIR)$(man1dir)/al.1.gz
+       $(mkdir_p) $(DESTDIR)$(man1dir)
        $(LN_S) ilasm.1.gz $(DESTDIR)$(man1dir)/al.1.gz
 
 uninstall-local:

--
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9

_______________________________________________
Developers mailing list
[email protected]
http://dotgnu.org/mailman/listinfo/developers

Reply via email to