provide upstream source
This commit is contained in:
13
debian/rules
vendored
13
debian/rules
vendored
@@ -49,17 +49,6 @@ binary-indep: build-indep
|
||||
dh_testdir
|
||||
$(MAKE) -f debian/rules.gen binary-indep
|
||||
|
||||
DIR_ORIG = ../orig/$(DEB_SOURCE)-$(DEB_VERSION_EPOCH_UPSTREAM)
|
||||
TAR_ORIG = ../$(DEB_SOURCE)_$(DEB_VERSION_EPOCH_UPSTREAM).orig.tar.xz
|
||||
|
||||
orig: $(DIR_ORIG)
|
||||
rsync --delete --exclude /debian --exclude .git --link-dest=$(DIR_ORIG)/ -a $(DIR_ORIG)/ .
|
||||
QUILT_PATCHES='$(CURDIR)/debian/patches' QUILT_PC=.pc quilt push --quiltrc - -a -q --fuzz=0
|
||||
|
||||
$(DIR_ORIG): $(TAR_ORIG)
|
||||
mkdir -p ../orig
|
||||
tar -C ../orig -xaf $(TAR_ORIG)
|
||||
|
||||
CLEAN_PATTERNS := $(BUILD_DIR) $(STAMPS_DIR) debian/lib/python/debian_linux/*.pyc debian/lib/python/debian_linux/__pycache__ $$(find debian -maxdepth 1 -type d -name 'linux-*') debian/*-tmp debian/*.substvars
|
||||
|
||||
clean-generated:
|
||||
@@ -122,4 +111,4 @@ debian/control-real: debian/bin/gencontrol.py $(CONTROL_FILES)
|
||||
@echo
|
||||
exit 1
|
||||
|
||||
.PHONY: binary binary-% build build-% clean debian/control-real orig setup source clean-generated
|
||||
.PHONY: binary binary-% build build-% clean debian/control-real setup source clean-generated
|
||||
|
Reference in New Issue
Block a user