~ubuntu-branches/ubuntu/saucy/ess/saucy

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Package Import Robot
  • Author(s): Dirk Eddelbuettel
  • Date: 2012-09-24 14:32:49 UTC
  • mfrom: (1.2.27)
  • Revision ID: package-import@ubuntu.com-20120924143249-5r6v61hymo9a4q0n
Tags: 12.09-1
New upstream version released today

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
# VERSION:
18
18
#       @echo "$(ESSVERSION)" > $@
19
19
## Hmm, this is a bit brittle ... but for distribution, there's no problem
20
 
etc/SVN-REVISION: VERSION lisp/*.el doc/*.texi */Makefile Makefile Makeconf
21
 
        (LC_ALL=C TZ=GMT svn info -r HEAD || $(ECHO) "Revision: unknown") 2> /dev/null \
 
20
etc/SVN-REVISION etc/SVN-REVISION-tmp: VERSION lisp/*.el doc/*.texi */Makefile Makefile Makeconf
 
21
        (LC_ALL=C TZ=GMT svn info || $(ECHO) "Revision: unknown") 2> /dev/null \
22
22
            | sed -n -e '/^Revision/p' -e '/^Last Changed Date/'p \
23
23
            | cut -d' ' -f1,2,3,4 > $@-tmp
24
24
        if [ -s $@-tmp ]; then mv $@-tmp $@ ; elif [ ! -e $@ ]; then echo 'not available' > $@ ; fi