aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1058ae6..e08944a 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,10 @@ BROWSERIFY := ./node_modules/.bin/browserify
all: peniquitous.user.js
-peniquitous.user.js: main.js peniquitous.js
+peniquitous.user.js: peniquitous.js userscript-header.txt
$(BROWSERIFY) \
--outfile $@ \
$<
+
+ cat userscript-header.txt $@ > "$@.tmp"
+ mv "$@.tmp" $@