OSDN Git Service

Correct a srcdist package construction defect.
authorKeith Marshall <keithmarshall@users.sourceforge.net>
Sat, 7 Apr 2012 21:48:58 +0000 (21:48 +0000)
committerKeith Marshall <keithmarshall@users.sourceforge.net>
Sat, 7 Apr 2012 21:48:58 +0000 (21:48 +0000)
ChangeLog
Makefile.in

index 1879a01..da7bf22 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-04-07  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Correct a srcdist package construction defect.
+
+       * Makefile.in (srcdist) [for SRCDIST_SUBDIRS]: Use...
+       (mkinstalldirs): ...this, to create package image directories.
+
 2012-04-06  Keith Marshall  <keithmarshall@users.sourceforge.net>
 
        Add scripting hooks to support creation of MS-Windows shortcuts.
index daaf9e1..17dffc6 100644 (file)
@@ -217,7 +217,8 @@ srcdist: srcdist-doc
            || $(LN_S) ../$$file .; \
          done
        for dir in $(SRCDIST_SUBDIRS); do \
-         mkdir ${PACKAGE_DISTROOT}/$$dir && cd ${PACKAGE_DISTROOT}/$$dir; \
+         $(mkinstalldirs) ${PACKAGE_DISTROOT}/$$dir \
+         && cd ${PACKAGE_DISTROOT}/$$dir; \
          for file in `cd ${abs_top_srcdir}/$$dir && echo *`; do \
            if test -f ${abs_top_srcdir}/$$dir/$$file; then \
              $(LN_S) ${abs_top_srcdir}/$$dir/$$file .; \