Revision 23669,
727 bytes
checked in by broder, 16 years ago
(diff) |
In tex-config,
- Don't run fmtutil-sys on postrm if doesn't exist.
- Install the config files with set -e to catch errors.
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[23668] | 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:: |
---|
[23669] | 18 | set -xe; \ |
---|
[23668] | 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.