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)'
