diff -Naur Makefile.orig Makefile --- xfplan-0.1/Makefile.orig 2005-06-01 21:48:31.000000000 -0400 +++ xfplan-0.1/Makefile 2005-06-01 22:09:36.000000000 -0400 @@ -165,8 +165,8 @@ # For Mac OSX, use these settings: -#prefix = /sw -#CCOPTS = -no-cpp-precomp -I/sw/include +prefix = @PREFIX@ +CCOPTS = -no-cpp-precomp -I@PREFIX@/include # --------------------------------------------------------------------------- # Define any additional flags required by the loader for the link phase, diff -Naur config.h config.h.new --- xfplan-0.1/config.h 2005-06-01 21:48:31.000000000 -0400 +++ xfplan-0.1/config.h.new 2005-06-01 22:01:22.000000000 -0400 @@ -33,7 +33,7 @@ #ifndef DEFAULT_FPLAN_PATH #define DEFAULT_FPLAN_PATH \ - "/usr/local/share/fplan:/usr/share/fplan:./data:./Data" + "@PREFIX@/share/fplan:@PREFIX@/fplan:./data:./Data" #endif #define DIR_SEPARATOR_STR "/"