tAdd Makefile - scholarref - tools for DOI and BiBTeX reference extraction, fetching, and parsing
git clone git://src.adamsgaard.dk/scholarref
Log
Files
Refs
README
LICENSE
---
commit bb50854f5defc3c37d2a375518a9a9b4515e2c80
parent 13a00ae713de78e6c1365fc38bf1ff1d1635ddb1
Author: Anders Damsgaard 
Date:   Sat,  7 Sep 2019 06:15:53 +0200

Add Makefile

Diffstat:
  A Makefile                            |      16 ++++++++++++++++

1 file changed, 16 insertions(+), 0 deletions(-)
---
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