File: make-pkg-file

package info (click to toggle)
caml-mode 4.06-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 380 kB
  • sloc: lisp: 4,172; makefile: 171
file content (16 lines) | stat: -rw-r--r-- 558 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Ralf Treinen <treinen@debian.org>
Description: Makefile target that generates a pkg.el file
===================================================================
--- caml-mode.orig/Makefile	2019-07-28 18:40:34.612003873 -0300
+++ caml-mode/Makefile	2019-07-28 21:00:48.056038265 -0300
@@ -111,6 +111,10 @@
 	tar acvf $@ $(DIST_DIR)
 	$(RM) -rf $(DIST_DIR)
 
+caml-pkg.el:
+	echo "(define-package \"caml\" \"$(VERSION)\" \"$(DESCRIPTION)\" \
+		)" > caml-pkg.el
+
 # This is for testing purposes
 compile-only:
 	$(EMACS) --batch --eval '$(COMPILECMD)'