tAdd Makefile - scholarref - tools for DOI and BiBTeX reference extraction, fetching, and parsing
HTML git clone git://src.adamsgaard.dk/scholarref
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit bb50854f5defc3c37d2a375518a9a9b4515e2c80
DIR parent 13a00ae713de78e6c1365fc38bf1ff1d1635ddb1
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 7 Sep 2019 06:15:53 +0200
Add Makefile
Diffstat:
A Makefile | 16 ++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)
---
DIR diff --git a/Makefile b/Makefile
t@@ -0,0 +1,16 @@
+PREFIX ?= /usr/local
+
+default:
+
+install:
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ install -m 775 getdoi $(DESTDIR)$(PREFIX)/bin
+ install -m 775 getref $(DESTDIR)$(PREFIX)/bin
+ install -m 775 scholarref $(DESTDIR)$(PREFIX)/bin
+
+uninstall:
+ $(RM) $(DESTDIR)$(PREFIX)/getdoi
+ $(RM) $(DESTDIR)$(PREFIX)/getref
+ $(RM) $(DESTDIR)$(PREFIX)/scholarref
+
+.PHONY: default install uninstall