From 1e7a1cb1bf70736cf1673faa1ebc4119cb058771 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 21 Mar 2021 17:00:38 +0100 Subject: Makefile: Add a new `peniquitous.user.js` target Don't need Browserify. Just concatenate the user script header and the compiled `main.js`. Rebuild the `peniquitous.user.js` user script file. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 59a59c2..6f5ce16 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,9 @@ build/main.js: main.js.in $(addprefix build/,$(IMPORTS_BASENAME)) $< \ > $@ +peniquitous.user.js: build/main.js userscript-header.txt + cat userscript-header.txt build/main.js > $@ + .PHONY: clean clean: rm -rf build -- cgit v1.2.3