mirror of
https://git.proxmox.com/git/libarchive-perl
synced 2025-10-04 10:21:37 +00:00
buildsys: make build-dir generation atomic
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
33881f0a92
commit
4224613758
11
Makefile
11
Makefile
@ -23,11 +23,12 @@ update-bindings:
|
||||
|
||||
.PHONY: $(BUILDSRC)
|
||||
$(BUILDSRC):
|
||||
rm -rf $(BUILDSRC)
|
||||
cp -a $(PPSRC)/ $(BUILDSRC)
|
||||
cp -a debian $(BUILDSRC)
|
||||
perl -MDevel::PPPort -e 'Devel::PPPort::WriteFile("$(BUILDSRC)/ppport.h");'
|
||||
echo "git clone git://git.proxmox.com/git/libarchive-perl\\ngit checkout $(shell git rev-parse HEAD)" >$(BUILDSRC)/debian/SOURCE
|
||||
rm -rf $@ $@.tmp
|
||||
cp -a $(PPSRC)/ $@.tmp
|
||||
cp -a debian $@.tmp
|
||||
perl -MDevel::PPPort -e 'Devel::PPPort::WriteFile("$@.tmp/ppport.h");'
|
||||
echo "git clone git://git.proxmox.com/git/libarchive-perl\\ngit checkout $(shell git rev-parse HEAD)" >$@.tmp/debian/SOURCE
|
||||
mv $@.tmp $@
|
||||
|
||||
.PHONY: dsc
|
||||
dsc:
|
||||
|
Loading…
Reference in New Issue
Block a user