projects
/
infodrom.org
/
infocon.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dbfdba2
)
Be verbose when being invoked manually, be silent when not
author
Joey Schulze
<joey@infodrom.org>
Wed, 24 Apr 2002 20:22:22 +0000
(20:22 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Wed, 24 Apr 2002 20:22:22 +0000
(20:22 +0000)
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index
2b13b41
..
d14799f
100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-3,6
+3,12
@@
FILES = $(WML_FILES:%.wml=%.html)
SFILES = $(WML_FILES:%.wml=%.shtml)
PFILES = $(WML_FILES:%.wml=%.php3)
SFILES = $(WML_FILES:%.wml=%.shtml)
PFILES = $(WML_FILES:%.wml=%.php3)
+ifeq ($(TERM),dumb)
+WML = /usr/bin/wml -n -q
+else
+WML = /usr/bin/wml -n
+endif
+
DIRS = $(shell find . -maxdepth 1 -type d -not -name . -not -name CVS)
ROOT_PREFIX = $(shell perl -MCwd -e '$$_ = cwd;s/^.*src\/?//;@f=split /\//;$$n=$$\#f+1;print "../"x $$n;' )
DIRS = $(shell find . -maxdepth 1 -type d -not -name . -not -name CVS)
ROOT_PREFIX = $(shell perl -MCwd -e '$$_ = cwd;s/^.*src\/?//;@f=split /\//;$$n=$$\#f+1;print "../"x $$n;' )
@@
-12,7
+18,7
@@
IFLAGS = -I. -I$(ROOT_PREFIX)../Styles
.SUFFIXES: .wml .html
.wml.html:
.SUFFIXES: .wml .html
.wml.html:
-
/usr/bin/wml -n
$(IFLAGS) $*.wml| sed 's:"[a-zA-Z0-9_\.-]*\.imgdot-1x1-transp\.gif":"$(ROOT_PREFIX)gifs/imgdot-1x1-transp.gif":' > $*.html
+
$(WML)
$(IFLAGS) $*.wml| sed 's:"[a-zA-Z0-9_\.-]*\.imgdot-1x1-transp\.gif":"$(ROOT_PREFIX)gifs/imgdot-1x1-transp.gif":' > $*.html
$(ROOT_PREFIX)../bin/fixsuffix $*.html
all: $(FILES)
$(ROOT_PREFIX)../bin/fixsuffix $*.html
all: $(FILES)