Package: camltemplate / 1.0.2-2

debian-changes-1.0.2-1 Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Description: Upstream changes introduced in version 1.0.2-1
 This patch has been created by dpkg-source during the package build.
 Here's the last changelog entry, hopefully it gives details on why
 those changes were made:
 .
 camltemplate (1.0.2-1) unstable; urgency=low
 .
   * Initial release. (Closes: #605675)
 .
 The person named in the Author field signed this changelog entry.
Author: Sylvain Le Gall <gildor@debian.org>
Bug-Debian: http://bugs.debian.org/605675

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- camltemplate-1.0.2.orig/Makefile
+++ camltemplate-1.0.2/Makefile
@@ -79,10 +79,16 @@ webinstall: $(DIST_DIR).tar.gz
 # Deletes generated files.
 .PHONY: clean
 clean:
-	for dir in $(DIRS); do cd $$dir; $(MAKE) clean; cd ..; done
-	rm -rf *~ camltemplate-*
+	for dir in $(filter-out doc,$(DIRS)); do $(MAKE) -C $$dir clean; done
+	-$(RM) -r *~ camltemplate-*
 
 .PHONY: distclean
 distclean: clean
-	rm -f Makefile.config
+	$(RM) Makefile.config
+
+.PHONY: really-clean
+really-clean: distclean
+	$(MAKE) -C doc clean
+
+Makefile.config:
 	./configure
--- camltemplate-1.0.2.orig/examples/Makefile
+++ camltemplate-1.0.2/examples/Makefile
@@ -23,6 +23,7 @@ install:
 	cp -r examples.rules $(ALL_EXAMPLES) $(INSTALL_DIR)/examples
 	find $(INSTALL_DIR)/examples -type d -name CVS -prune -exec rm -rf \{} \;
 	find $(INSTALL_DIR)/examples -type d -name ._d -prune -exec rm -rf \{} \;
+	find $(INSTALL_DIR)/examples -type f -name .cvsignore -prune -exec rm -rf \{} \;
 
 .PHONY: uninstall
 uninstall:
--- camltemplate-1.0.2.orig/src/Makefile
+++ camltemplate-1.0.2/src/Makefile
@@ -42,10 +42,10 @@ opt:
 
 install:
 	files=`$(COLLECT_FILES) META camlTemplate.mli camlTemplate.cmi camltemplate.cma camltemplate.cmxa camltemplate.a camlTemplate_mt.cmo camlTemplate_mt.cmx camlTemplate_mt.o` && \
-	$(OCAMLFIND) install -destdir $(PREFIX) camltemplate $$files
+	$(OCAMLFIND) install camltemplate $$files
 
 uninstall:
-	$(OCAMLFIND) remove -destdir $(PREFIX) camltemplate
+	$(OCAMLFIND) remove camltemplate
 
 clean:
 	rm -rf *.o *.a *.cm? mt_cmis *.cm?a ctLexer.ml ctParser.ml ctParser.mli *~