File: rules

package info (click to toggle)
weechat-scripts 20200815-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,380 kB
  • sloc: python: 49,736; perl: 27,632; ruby: 2,254; lisp: 338; tcl: 244; javascript: 138; makefile: 14; sh: 9
file content (18 lines) | stat: -rwxr-xr-x 488 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

VERSION := $(shell date +%Y%m%d)
SNAPSHOT := weechat-scripts_$(VERSION).tar.gz

import-orig:
	rm -rf guile javascript lua perl python ruby tcl php
	debian/tools/generate.py -v --action download
	debian/tools/generate.py -v --action copyright > debian/copyright
	sh debian/tools/make_archive.sh $(SNAPSHOT)
	git checkout -- guile  javascript lua perl python ruby tcl
	git clean -f
	git stash push
	gbp import-orig -u $(VERSION) ../$(SNAPSHOT)
	git stash pop

%:
	dh $@