From: Patrik Gornicz Date: Tue, 28 Apr 2009 22:02:45 +0000 (-0400) Subject: install/uninstall X-Git-Tag: libbear-premerge~100 X-Git-Url: http://gitweb.pgornicz.com/?a=commitdiff_plain;h=539650c7bd6c8c728c147b8493070ff34e70a2d6;p=libbear.git install/uninstall --- 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: