Debian Codegraph @

stdred/ccdred/etc/makefile

raw
1 # @(#)makefile 4.1 (ESO-IPG) 7/30/92 14:10:05
2 # .COPYRIGHT: Copyright (c) 1988 European Southern Observatory,
3 # all rights reserved
4 # .TYPE make file
5 # .NAME */etc/makefile
6 # .LANGUAGE makefile syntax
7 # .ENVIRONMENT Unix Systems.
8 # .COMMENT Copy *.ctx files to common "context" directory.
9 # .REMARKS
10 # .AUTHOR Carlos Guirao
11 # .VERSION 1.1 911023: Implementation
12
13 SHELL=/bin/sh
14 CTXDIR=../../../context
15 LN=ln -s
16
17 all: clean
18 @(PCK=`pwd | sed -e 's/\/etc$$//' -e 's/^.*\///'`; \
19 for file in *.ctx; \
20 do (cd $(CTXDIR); $(LN) ../stdred/$$PCK/etc/$$file $$file;) \
21 done)
22
23
24 clean:
25 @(OBJS=`ls *.ctx` ; cd $(CTXDIR) ; rm -f $$OBJS)