1 SUBDIRS = include src man doc
2 ACLOCAL_AMFLAGS = -I m4
4 EXTRA_DIST = Changelog COPYING COPYING.libvdeplug COPYING.slirpvde INSTALL README
6 DISTCHECK_CONFIGURE_FLAGS = --enable-experimental
23 include/config.h.in* \
26 `find . -name Makefile.in` \
30 # https://sourceforge.net/apps/trac/sourceforge/wiki/Release%20files%20for%20download
32 cksum_file=$(distdir).checksum
33 trunk_url=https://vde.svn.sourceforge.net/svnroot/vde/trunk/vde-2
34 tag_url=https://vde.svn.sourceforge.net/svnroot/vde/tags/vde-2/$(PACKAGE_VERSION)
36 release_checksums: dist
38 which sha1sum >/dev/null && sha1sum $(DIST_ARCHIVES) >> $(cksum_file)
39 which sha256sum >/dev/null && sha256sum $(DIST_ARCHIVES) >> $(cksum_file)
40 # error if the file is empty (or non existant)
41 /usr/bin/test -s $(cksum_file) || exit 1
44 @/usr/bin/test -f release_ready || { \
45 echo "File release_ready not found, complete these steps first:"; \
46 echo "- check any outstanding bug on sf.net"; \
47 echo "- check any outstanding bug on bugs.debian.org"; \
48 echo "- update the changelog"; \
49 echo "- increase version number in configure.ac"; \
50 echo "Once you're done you can 'touch release_ready' to proceed"; exit 1; }
53 # check if release tag exists, othewise tag the release
54 svn ls $(tag_url) 1>/dev/null || svn copy -m "Tag release $(PACKAGE_VERSION)" $(trunk_url) $(tag_url)
56 release: release_steps release_tag release_checksums
57 reldir=`mktemp -d -t vde.XXXXXX`/$(PACKAGE_VERSION); \
59 cp -v $(DIST_ARCHIVES) $(cksum_file) $$reldir; \
62 echo "*** release ready at $$reldir, manual steps left:"; \
64 echo "gpg -o $$reldir/$(cksum_file).asc --clearsign $$reldir/$(cksum_file)"; \
65 echo "rsync -e ssh -vaz $$reldir <SF_USERNAME>,vde@frs.sourceforge.net:/home/frs/project/v/vd/vde/vde2/"