Browse Source

Makefile: git-source-dist for preparing source dist

bboozzoo/device-cache
Maciek Borzecki 10 years ago
parent
commit
030d053aac
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      Makefile.am

+ 5
- 0
Makefile.am View File

@ -58,6 +58,11 @@ do_desktop_subst = sed -e 's,[@]bindir[@],${bindir},g'
mconnect.desktop: mconnect.desktop.in
$(do_desktop_subst) < $< > $@
git-source-dist:
gitsha=`git rev-list HEAD -1`; \
git archive --prefix=mconnect-$${gitsha}/ HEAD | \
gzip -c > mconnect-$${gitsha}.tar.gz
BUILT_SOURCES = mconn-crypt.vapi mconn-crypt.gi mconnect.desktop
CLEANFILES = $(BUILT_SOURCES)


Loading…
Cancel
Save