Correct maintainer goals
authorFrançois Pinard <pinard@iro.umontreal.ca>
Wed, 27 Feb 2008 23:38:36 +0000 (18:38 -0500)
committerFrançois Pinard <pinard@iro.umontreal.ca>
Wed, 27 Feb 2008 23:38:36 +0000 (18:38 -0500)
Makefile.am
Makefile.in

index da21e216fdf5555690d2f7b8cfbf19d6c46789ea..c2b0723bc2ff2707560c1f21da0522bc2d1f3b6e 100644 (file)
@@ -35,7 +35,8 @@ local:
        ajuster-web $(top_srcdir)/web
 
 publish:
-       git archive --format=tar --prefix=recode-$(VERSION)/ HEAD . \
+       (cd $(top_srcdir) && \
+         git archive --format=tar --prefix=recode-$(VERSION)/ HEAD .) \
          | gzip > $(top_srcdir)/web/archives/recode-$(VERSION).tar.gz
 
 official: publish
@@ -44,7 +45,7 @@ official: publish
 
 synchro: local
        du -s $(top_srcdir)/.git
-       git gc --prune
+       cd $(top_srcdir) && git gc --prune
        du -s $(top_srcdir)/.git
        find $(top_srcdir) -name '*~' | xargs rm -fv
        synchro -PD alcyon entretien
index 44b66fc4a18325939bfac96205a3fed86bd2a71f..1bd8a88386acd433705bc4bb3b3c1bdce0f74a4f 100644 (file)
@@ -691,7 +691,8 @@ local:
        ajuster-web $(top_srcdir)/web
 
 publish:
-       git archive --format=tar --prefix=recode-$(VERSION)/ HEAD . \
+       (cd $(top_srcdir) && \
+         git archive --format=tar --prefix=recode-$(VERSION)/ HEAD .) \
          | gzip > $(top_srcdir)/web/archives/recode-$(VERSION).tar.gz
 
 official: publish
@@ -700,7 +701,7 @@ official: publish
 
 synchro: local
        du -s $(top_srcdir)/.git
-       git gc --prune
+       cd $(top_srcdir) && git gc --prune
        du -s $(top_srcdir)/.git
        find $(top_srcdir) -name '*~' | xargs rm -fv
        synchro -PD alcyon entretien