~swag/armagetronad/0.2.9-sty+ct+ap-fork

« back to all changes in this revision

Viewing changes to resource/Makefile.am

  • Committer: luke-jr
  • Date: 2006-05-31 05:43:38 UTC
  • Revision ID: svn-v3-list-QlpoOTFBWSZTWZvbKhsAAAdRgAAQABK6798QIABURMgAAaeoNT1TxT1DQbKaeobXKiyAmlWT7Y5MkdJOtXDtB7w7DOGFBHiOBxaUIu7HQyyQSvxdyRThQkJvbKhs:7d95bf1e-0414-0410-9756-b78462a59f44:armagetronad%2Fbranches%2F0.2.8%2Farmagetronad:4650
I don't know if these are used, but just in case

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
all: included
12
12
 
13
13
linked_included.%: included
14
 
        if test ! -r $@; then \
15
 
                if test -d included; then\
16
 
                        ln -sf ./included $@;\
17
 
                else\
18
 
                        ln -sf ${srcdir}/included $@;\
19
 
                fi;\
 
14
        if test -d included; then\
 
15
                ln -sf included $@;\
 
16
        else\
 
17
                ln -sf ${srcdir}/included $@;\
20
18
        fi
21
19
 
22
20
install-data-local: linked_included.install
23
21
#   copy processed included resources into target directory
24
22
        mkdir -p ${DESTDIR}${resourcedir}/included
25
 
        cp -r $</* ${DESTDIR}${resourcedir}/included
 
23
        cp -LR $</* ${DESTDIR}${resourcedir}/included
26
24
        find ${DESTDIR}${resourcedir} -type d -exec chmod 755 \{\} \;
27
25
        find ${DESTDIR}${resourcedir} -type f -exec chmod 644 \{\} \;
28
26
        rm -f $<        
34
32
dist-hook: linked_included.dist
35
33
#   copy processed included resources into distribution
36
34
        mkdir -p $(distdir)/included
37
 
        cp -r $</* $(distdir)/included/
 
35
        cp -LR $</* $(distdir)/included/
38
36
 
39
37
#       delete temporary files
40
38
        rm -f $< $(distdir)/included/map.dtd