home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-10-25 | 713 b | 32 lines |
- #
- # Makefile for the CACHE BUILD package.
- #
-
- # where to put the main executable shell script
- BIN=/usr/com/bin
-
- # where to put the awk script (note: change this in cachebuild, too!)
- LIB=/usr/com/lib
-
- # name of root.cache type output file
- CACHEFILE=root.cache
-
- # Note: fix PATH variable in cachebuild.SH script before building.
-
-
- all: cachebuild
-
- cachebuild: cachebuild.SH
- echo "s,CBAWKPATH,$(LIB)/cachebuild.awk,g" > fix.sed
- echo "s,CACHEFILE,$(CACHEFILE),g" >> fix.sed
- sed -f fix.sed < cachebuild.SH > cachebuild
- rm -f fix.sed
- chmod 755 cachebuild
-
- install: all
- install -c -m 755 -o bin -g bin cachebuild $(BIN)
- install -c -m 644 -o bin -g bin cachebuild.awk $(LIB)
-
- clean:
- -rm -f cachebuild root.cache*
-