From eeb65f8cd239e5a3367be902375c149ad7ac0f1b Mon Sep 17 00:00:00 2001 From: fourdan Date: Wed, 24 May 2006 14:45:31 +0000 Subject: Fix make install if dest dirs are missing, add Debian administrative files, so first Debian package of ivy-cpp is now ready ;) --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6696bf7..bdf0f9c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ + # $Id$ + os=$(shell uname -s) ifeq ($(os),Darwin) @@ -79,8 +81,10 @@ $(LIBIVY_GLFW_SHARED) : $(OBJECTS_GLFW) install: # headers + mkdir -p $(DESTDIR)$(PREFIX)/include/Ivy install -m 0644 Ivy*.h $(DESTDIR)$(PREFIX)/include/Ivy # libs + mkdir -p $(DESTDIR)$(PREFIX)/lib install -m 0644 $(LIBIVY_STATIC) $(DESTDIR)$(PREFIX)/lib install -m 0644 $(LIBIVY_GLFW_STATIC) $(DESTDIR)$(PREFIX)/lib install -m 0644 $(LIBIVY_SHARED) $(DESTDIR)$(PREFIX)/lib -- cgit v1.1