File: Makefile

package info (click to toggle)
hunspell-bo 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 152 kB
  • ctags: 4
  • sloc: makefile: 63; xml: 20
file content (21 lines) | stat: -rw-r--r-- 610 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DEBIAN_FILES = changelog copyright rules watch compat hunspell-bo.info-hunspell hunspell-bo.links source control hunspell-bo.install

ORIG_FILES = ../bo.dic ../bo.aff ../CHANGELOG.md

VERSION = 0.3.0

all: deb

orig: $(DEBIAN_FILES) $(ORIG_FILES)
	@echo "Making orig.tar.gz archive..."
	@mkdir -p hunspell-bo && cp $(ORIG_FILES) hunspell-bo
	@tar czf hunspell-bo_$(VERSION).orig.tar.gz hunspell-bo

deb: orig
	@echo "Making .deb package..."
	@mkdir -p hunspell-bo/debian
	@cp -R $(DEBIAN_FILES) hunspell-bo/debian
	@cd hunspell-bo && dpkg-buildpackage

clean:
	@rm -rf *.deb *.xz *.gz *.dsc *.changes *.upload