Revision 23668,
726 bytes
checked in by broder, 16 years ago
(diff) |
Create debathena-tex-config package to change papersize default to letter
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #!/usr/bin/make -f |
---|
2 | |
---|
3 | BUILD_ROOT=$(CURDIR)/files |
---|
4 | TEXMFVAR=$(CURDIR)/junk |
---|
5 | TEXMFCONFIG=etc/texmf |
---|
6 | |
---|
7 | DEB_DIVERT_EXTENSION = .debathena |
---|
8 | DEB_DIVERT_FILES_debathena-tex-config += \ |
---|
9 | $(shell cd $(BUILD_ROOT) && find . -type f | sed 's,^\.,,; s,$$,.debathena,') |
---|
10 | |
---|
11 | include /usr/share/cdbs/1/rules/debhelper.mk |
---|
12 | include /usr/share/cdbs/1/rules/config-package.mk |
---|
13 | |
---|
14 | build/debathena-tex-config:: |
---|
15 | TEXMFVAR=$(TEXMFVAR) TEXMFCONFIG=$(BUILD_ROOT)/$(TEXMFCONFIG) texconfig paper letter |
---|
16 | |
---|
17 | install/debathena-tex-config:: |
---|
18 | set -x; \ |
---|
19 | cd $(BUILD_ROOT); \ |
---|
20 | for f in $$(find $(TEXMFCONFIG) -type f); do \ |
---|
21 | mkdir -p $(DEB_DESTDIR)$$(dirname $$f); \ |
---|
22 | cp -a $$f $(DEB_DESTDIR)$$f.debathena; \ |
---|
23 | done |
---|
24 | |
---|
25 | clean:: |
---|
26 | rm -rf $(CURDIR)/files |
---|
27 | rm -rf $(TEXMFVAR) |
---|
Note: See
TracBrowser
for help on using the repository browser.