~ubuntu-branches/debian/sid/eso-midas/sid

« back to all changes in this revision

Viewing changes to .pc/propagate_buildflags.patch/applic/general/etc/makefile

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-sl34juxohmn4aty4
Tags: 13.09pl1.2+dfsg-1
Initial release. (Closes: #740702)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# @(#)makefile  14.1 (ESO-IPG) 09/16/99 09:45:42
 
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) ../applic/$$PCK/etc/$$file $$file;) \
 
21
        done)
 
22
 
 
23
 
 
24
clean:
 
25
        @(OBJS=`ls *.ctx` ; cd $(CTXDIR) ; rm -f $$OBJS)