1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/pcg-c/prefix-variable.patch
Linus Arver e216a63c7d Add package: pcg-c
Also, add myself as maintainer.
2015-04-26 14:50:45 -07:00

16 lines
398 B
Diff

diff --git a/Makefile b/Makefile
index dddea44..fdb9401 100644
--- a/Makefile
+++ b/Makefile
@@ -30,8 +30,8 @@ all:
PREFIX = /usr/local
install: all
- install src/libpcg_random.a $PREFIX/lib
- install -m 0644 include/pcg_variants.h $PREFIX/include
+ install src/libpcg_random.a ${PREFIX}/lib
+ install -m 0644 include/pcg_variants.h ${PREFIX}/include
test: all
cd test-low; $(MAKE) test