From 539650c7bd6c8c728c147b8493070ff34e70a2d6 Mon Sep 17 00:00:00 2001 From: Patrik Gornicz Date: Tue, 28 Apr 2009 18:02:45 -0400 Subject: [PATCH] install/uninstall --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7376d82..fb2ae17 100644 --- a/Makefile +++ b/Makefile @@ -64,8 +64,15 @@ endif .PHONY: all all: ${TARGET} +# a quick install and uninstall instructions install: - + mkdir -p /usr/include/pg/ + cp inc/* /usr/include/pg/ + cp bind/libpg.so /usr/lib/ + +uninstall: + rm -rf /usr/include/pg + rm /usr/lib/libpg.so # cause the fancy $$ directory rules to work out .SECONDEXPANSION: -- 2.10.2