1
0
forked from GitHub/gf-core

Changed mktoday to generate use hierarchical name

This commit is contained in:
bringert
2005-04-21 10:11:21 +00:00
parent 3155a82696
commit 9b8d7a994f
2 changed files with 10 additions and 10 deletions

View File

@@ -8,12 +8,10 @@ GHCOPTFLAGS=-O2 $(GHCFLAGS)
GHCFUDFLAG=
JAVAFLAGS=-target 1.4 -source 1.4
BASICINCLUDE =-iapi -icompile -igrammar -iinfra -ishell -isource -icanonical -iuseGrammar -icf -inewparsing -iparsers -icfgm -ispeech -ivisualization
GHCINCLUDE =-ifor-ghc $(BASICINCLUDE)
GHCINCLUDENOFUD=-ifor-ghc-nofud $(BASICINCLUDE)
GHCINCLUDEGFT =-ifor-gft $(BASICINCLUDE)
WINDOWSINCLUDE =-ifor-windows $(BASICINCLUDE)
GHCINCLUDE =-ifor-ghc
GHCINCLUDENOFUD=-ifor-ghc-nofud
GHCINCLUDEGFT =-ifor-gft
WINDOWSINCLUDE =-ifor-windows
DIST_DIR=GF-$(PACKAGE_VERSION)
NOT_IN_DIST= \
@@ -100,8 +98,10 @@ distclean: clean
ghci-nofud:
$(GHCI) $(GHCFLAGS) $(GHCINCLUDENOFUD)
today:
util/mktoday.sh
tools/mktoday.sh
javac:
$(JAVAC) $(JAVAFLAGS) java/*.java

View File

@@ -1,6 +1,6 @@
#!/bin/sh
echo 'module Today (today) where' > Today.hs
echo 'today :: String' >> Today.hs
echo 'today = "'`date`'"' >> Today.hs
echo 'module GF.Today (today) where' > GF/Today.hs
echo 'today :: String' >> GF/Today.hs
echo 'today = "'`date`'"' >> GF/Today.hs