File: make-pkg-file

package info (click to toggle)
caml-mode 4.9-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 372 kB
  • sloc: lisp: 4,009; makefile: 185
file content (18 lines) | stat: -rw-r--r-- 689 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Ralf Treinen <treinen@debian.org>
Description: Makefile target that generates a pkg.el file
===================================================================
Index: caml-mode/Makefile
===================================================================
--- caml-mode.orig/Makefile	2023-03-07 21:26:24.695603690 +0100
+++ caml-mode/Makefile	2023-03-07 21:26:24.695603690 +0100
@@ -63,6 +63,10 @@
 	      (byte-compile-file "caml-font.el") \
 	      (byte-compile-file "camldebug.el"))
 
+caml-pkg.el:
+	echo "(define-package \"caml\" \"$(VERSION)\" \"$(DESCRIPTION)\" \
+		)" > caml-pkg.el
+
 # This is for testing purposes
 compile-only:
 	$(EMACS) --batch --eval '$(COMPILECMD)'