--- Makefile.in.orig Sat Apr 1 13:06:36 2006 +++ Makefile.in Tue Apr 25 07:43:19 2006 @@ -32,15 +32,15 @@ SOURCES = $(wildcard *.erl) BEAMS = $(SOURCES:.erl=.beam) -DESTDIR = - -EJABBERDDIR = $(DESTDIR)@prefix@/var/lib/ejabberd +DESTDIR = @prefix@ + +EJABBERDDIR = $(DESTDIR)/lib/erlang/lib/ejabberd-$(PORTVERSION) BEAMDIR = $(EJABBERDDIR)/ebin PRIVDIR = $(EJABBERDDIR)/priv SODIR = $(PRIVDIR)/lib MSGSDIR = $(PRIVDIR)/msgs -LOGDIR = $(DESTDIR)@prefix@/var/log/ejabberd -ETCDIR = $(DESTDIR)@prefix@/etc/ejabberd +LOGDIR = /var/log/ejabberd +ETCDIR = $(DESTDIR)/etc/ejabberd ASN_FLAGS = -bber_bin +der +compact_bit_string +optimize +noobj @@ -82,7 +82,7 @@ install -d $(MSGSDIR) install -m 644 msgs/*.msg $(MSGSDIR) install -d $(ETCDIR) - install -b -m 644 ejabberd.cfg.example $(ETCDIR)/ejabberd.cfg + install -b -m 644 ejabberd.cfg.example $(ETCDIR) install -d $(LOGDIR) clean: clean-recursive clean-local