new LIBDIR var in makefile, so we can specify the lib folder (thx koorek)

This commit is contained in:
Yann Leboulanger 2005-06-15 18:04:33 +00:00
parent 65d1ac199e
commit c8330db808
1 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@ GAJIM_AP = 0
MODULES = src src/common po MODULES = src src/common po
PREFIX = /usr PREFIX = /usr
DESTDIR = / DESTDIR = /
LIBDIR = /lib
FIND = find . \( -name '*.glade' -o -name '*.py' -o -name '*.xpm' -o -name '*.gif' -o -name '*.png' -o -name '*.mo' -o -name '*.wav' \) FIND = find . \( -name '*.glade' -o -name '*.py' -o -name '*.xpm' -o -name '*.gif' -o -name '*.png' -o -name '*.mo' -o -name '*.wav' \)
@ -69,9 +70,9 @@ install:
cp gajim.desktop "$(DESTDIR)$(PREFIX)/share/applications/"; cp gajim.desktop "$(DESTDIR)$(PREFIX)/share/applications/";
mkdir -p "$(DESTDIR)$(PREFIX)/share/man/man1"; mkdir -p "$(DESTDIR)$(PREFIX)/share/man/man1";
cp gajim.1 "$(DESTDIR)$(PREFIX)/share/man/man1"; cp gajim.1 "$(DESTDIR)$(PREFIX)/share/man/man1";
mkdir -p "$(DESTDIR)$(PREFIX)/lib/gajim"; mkdir -p "$(DESTDIR)$(PREFIX)$(LIBDIR)/gajim";
for f in $(FILES_LIB) ; do \ for f in $(FILES_LIB) ; do \
cp "$$f" "$(DESTDIR)$(PREFIX)/lib/gajim/"; \ cp "$$f" "$(DESTDIR)$(PREFIX)$(LIBDIR)/gajim/"; \
done done
mkdir -p "$(DESTDIR)$(PREFIX)/bin"; mkdir -p "$(DESTDIR)$(PREFIX)/bin";
for s in $(SCRIPTS) ; do \ for s in $(SCRIPTS) ; do \