[libyaml-libyaml-perl] 02/03: d/rules: more moving back/forth of libyaml
gregor herrmann
gregoa at debian.org
Fri Oct 10 13:07:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch gregoa/use-system-yaml
in repository libyaml-libyaml-perl.
commit edc50950ebda3495dbcf3a4820c81b771c9c4f6b
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Oct 10 14:51:24 2014 +0200
d/rules: more moving back/forth of libyaml
Git-Dch: Ignore
---
debian/rules | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/debian/rules b/debian/rules
index 9882e39..9da9dfe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,6 @@
#!/usr/bin/make -f
-%:
- dh $@
-
-override_dh_auto_configure:
- for f in \
- api.c \
+LIBYAML=api.c \
config.h \
dumper.c \
emitter.c \
@@ -15,6 +10,19 @@ override_dh_auto_configure:
scanner.c \
writer.c \
yaml.h \
- yaml_private.h \
- ; do mv -v $(CURDIR)/LibYAML/$$f $(CURDIR)/LibYAML/$$f.disabled; done
+ yaml_private.h
+
+%:
+ dh $@
+
+override_dh_clean:
+ for f in $(LIBYAML) ; do \
+ [ ! -e $(CURDIR)/LibYAML/$$f.disabled ] || mv -v $(CURDIR)/LibYAML/$$f.disabled $(CURDIR)/LibYAML/$$f \
+ ; done
+ dh_clean
+
+override_dh_auto_configure:
+ for f in $(LIBYAML) ; do \
+ [ ! -e $(CURDIR)/LibYAML/$$f ] || mv -v $(CURDIR)/LibYAML/$$f $(CURDIR)/LibYAML/$$f.disabled \
+ ; done
dh_auto_configure
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libyaml-libyaml-perl.git
More information about the Pkg-perl-cvs-commits
mailing list