]> git.proxmox.com Git - lxc.git/blobdiff - Makefile
bump version to 3.0.2+pve1-1
[lxc.git] / Makefile
index 859d27a1a7e01c4f6f9dcdc7de96e5c46ec278be..f5f4127e57fec0223ec9c8047eeace0ba680a937 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 PACKAGE=lxc-pve
-LXCVER=3.0.0
+LXCVER=3.0.2+pve1
 DEBREL=1
 
 SRCDIR=lxc
@@ -26,9 +26,12 @@ $(DEB2): $(DEB1)
 $(DEB1): | submodule
        rm -f *.deb
        rm -rf $(BUILDSRC)
-       mkdir $(BUILDSRC)
-       cp -a $(SRCDIR)/* $(BUILDSRC)/
+       cp -a $(SRCDIR) $(BUILDSRC)
        cp -a debian $(BUILDSRC)/debian
+       mkdir $(BUILDSRC)/debian/config
+       for i in config/*.conf.in; do \
+         sed -e 's|@LXCTEMPLATECONFIG@|/usr/share/lxc/config|g' $$i > $(BUILDSRC)/debian/$${i%.in} ; \
+       done
        echo "git clone git://git.proxmox.com/git/lxc.git\\ngit checkout $(GITVERSION)" > $(BUILDSRC)/debian/SOURCE
        cd $(BUILDSRC); dpkg-buildpackage -rfakeroot -b -us -uc
        lintian $(DEBS)