Index: Makefile =================================================================== --- Makefile (revision 9827) +++ Makefile (working copy) @@ -41,10 +41,10 @@ libircp_a_OBJECTS = ircp/ircp_client.o ircp/ircp_server.o ircp/ircp_io.o ircp/dirtraverse.o IRFLAGS = -lopenobex libircp.a -STRIP=strip -CC=gcc -AR = ar -RANLIB = ranlib +STRIP ?= strip +CC ?= gcc +AR ?= ar +RANLIB ?= ranlib PACKAGE_CFLAGS += -Wall $(GPECFLAGS) $(GTKCFLAGS) `pkg-config --cflags gthread-2.0` `pkg-config --cflags dbus-glib-1` PACKAGE_LDFLAGS += $(GPELIBS) $(GTKLIBS) `pkg-config --libs gthread-2.0` `pkg-config --libs dbus-glib-1` @@ -74,16 +74,17 @@ $(RANLIB) libircp.a install-program: all all-desktop - mkdir -p $(DESTDIR)/CONTROL - sed -e s/VERSION/$(VERSION)/ $(DESTDIR)/CONTROL/control mkdir -p $(DESTDIR)/$(PREFIX)/bin $(INSTALL) $(PACKAGE) $(DESTDIR)$(PREFIX)/bin/ - $(INSTALL) -m 4755 irsw $(DESTDIR)$(PREFIX)/bin/ + $(INSTALL) -m 4711 irsw $(DESTDIR)$(PREFIX)/bin/ mkdir -p $(DESTDIR)$(PREFIX)/share/pixmaps for i in $(PIXMAPS); do install -m 644 -D pixmaps/$$i $(DESTDIR)$(PREFIX)/share/pixmaps/$$i; done mkdir -p $(DESTDIR)$(PREFIX)/share/applications $(INSTALL) -m 644 *.desktop $(DESTDIR)$(PREFIX)/share/applications +install-control: + mkdir -p $(DESTDIR)/CONTROL + sed -e s/VERSION/$(VERSION)/ $(DESTDIR)/CONTROL/control clean: rm -f $(PACKAGE) vcard-import-file irsw $(OBJS) *~ */*~ *.ipk *.o *.a ircp/*.o