Ahh yes, you are actually right (I'm removing the unneeded stuff right now).
I'll have to say thtanks for this, it's actually reducing my work quite a lot
So all that is needed to fix this seems to be something along having
install:
mkdir -p $(DESTDIR)/lib
mkdir -p $(DESTDIR)/include
@(cd ./src/SFML && $(MAKE) $@)
as install target in ./Makefile
EDIT://
Laurent, another thing, would you consider
Index: libsfml/src/SFML/Makefile
===================================================================
--- libsfml.orig/src/SFML/Makefile 2008-11-01 22:36:36.000000000 +0100
+++ libsfml/src/SFML/Makefile 2008-11-01 22:45:17.000000000 +0100
@@ -56,4 +56,4 @@
@(cd ./System && $(MAKE) $@ && cd ../Window && $(MAKE) $@ && cd ../Network && $(MAKE) $@ && cd ../Graphics && $(MAKE) $@ && cd ../Audio && $(MAKE) $@)
install:
- @(cd ./System && $(MAKE) $@ && cd ../Window && $(MAKE) $@ && cd ../Network && $(MAKE) $@ && cd ../Graphics && $(MAKE) $@ && cd ../Audio && $(MAKE) $@ && $(CP) -r ../../../include/SFML/ /usr/include/)
+ @(cd ./System && $(MAKE) $@ && cd ../Window && $(MAKE) $@ && cd ../Network && $(MAKE) $@ && cd ../Graphics && $(MAKE) $@ && cd ../Audio && $(MAKE) $@ && $(CP) -r ../../../include/SFML/ $(DESTDIR)/include/)
to actually install the headers into destdir, too?
EDIT2://
DESTDIR includes usr/ for SFML too (instead of an extra PREFIX
so $(DESTDIR)/lib is enough for install target, had already changed it locally but copied wrong