]> andersk Git - mod-vhost-ldap.git/blobdiff - Makefile
fix archive target in Makefile
[mod-vhost-ldap.git] / Makefile
index e08557c036f5f3264c30d9387eabdfe7fd971521..a806c6eca5c6bdc34924bdcb0361f361125f8750 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,10 +19,16 @@ clean:
 mod_vhost_ldap.o: mod_vhost_ldap.c
        $(APXS) -Wc,-Wall -Wc,-Werror -Wc,-g -Wc,-DDEBUG -Wc,-DMOD_VHOST_LDAP_VERSION=\\\"mod_vhost_ldap/$(VERSION)\\\" -c -lldap_r mod_vhost_ldap.c
 
+deb: make clean
+       svn export svn+ssh://ondrej@svn.debian.org/svn/modvhostldap mod-vhost-ldap-`cat VERSION`.orig;
+       /usr/bin/pdebuild --configfile /home/ondrej/.pbuilderrc.unstable
+
 archive:
-       svn export svn+ssh://ondrej@svn.debian.org/svn/modvhostldap mod-vhost-ldap-`cat VERSION`;
-       tar czf ../mod-vhost-ldap-$(VERSION).tar.gz mod-vhost-ldap-$(VERSION);
-       tar cjf ../mod-vhost-ldap-$(VERSION).tar.bz2 mod-vhost-ldap-$(VERSION);
+       svn export svn+ssh://ondrej@svn.debian.org/svn/modvhostldap/trunk/mod-vhost-ldap/ mod-vhost-ldap-`cat VERSION`;
+       rm -rf mod-vhost-ldap-$(VERSION)/debian
+       tar czf ../tarballs/mod-vhost-ldap-$(VERSION).tar.gz mod-vhost-ldap-$(VERSION);
+       ln -sf mod-vhost-ldap-$(VERSION).tar.gz ../tarballs/mod-vhost-ldap_$(VERSION).orig.tar.gz
+       tar cjf ../tarballs/mod-vhost-ldap-$(VERSION).tar.bz2 mod-vhost-ldap-$(VERSION);
        rm -rf mod-vhost-ldap-$(VERSION);
 
 format:
This page took 0.0619 seconds and 4 git commands to generate.