Mercurial > emacs
view lispintro/mkinstalldirs @ 76683:d3f3c39adbcd
(DESTDIR, LIBDIR, BINDIR, MANDIR, MANEXT): Delete
unused variables.
(dired-refcards, misc-refcards, survival-card, viper-cards): New
targets.
(all): Also build dired-refcards and misc-refcards.
(clean, distclean, maintainer-clean): Depend on mostlyclean.
(SOURCES): Remove non-existent files.
(mostlyclean, clean, distclean, maintainer-clean, unlock, relock):
Mark as phony.
(.ps files): Specify default papersize in the dvips command.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 23 Mar 2007 03:48:03 +0000 |
parents | 746c40973d25 |
children | eb7e8d483840 |
line wrap: on
line source
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" case "$pathcomp" in -* ) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" 1>&2 mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr fi fi pathcomp="$pathcomp/" done done exit $errstatus # mkinstalldirs ends here