Skip to content

Commit

Permalink
Fixed Makefile.in to better work with debian package creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
simu committed May 29, 2009
1 parent d3f3fad commit e07e0c5
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Makefile.in
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Makefile

INSTALL_DIR=/usr/bin
BONOBO_DIR=/usr/lib/bonobo/servers
DATA_DIR=/usr/share/pixmaps
SHARE_DIR=/usr/share/gnome-applets
# variable prefix
prefix=/usr

INSTALL_DIR=$(prefix)/bin
BONOBO_DIR=$(prefix)/lib/bonobo/servers
DATA_DIR=$(prefix)/share/pixmaps
SHARE_DIR=$(prefix)/share/gnome-applets

#don't edit below

VERSION=0.1c

#for deb creation
prefix=$(INSTALL_DIR)

.PHONY: clean install local_install dist doxy GNOME_MusicusApplet.server uninstall deb rpm

#export all variables
Expand Down Expand Up @@ -47,7 +47,9 @@ install: GNOME_MusicusApplet.server
install $(IBINARIES) $(prefix)
$([ -h $(prefix)/musicus ] && rm $(prefix)/musicus)
ln -s $(prefix)/musicus-mpc $(prefix)/musicus
mkdir -p $(BONOBO_DIR)
cp GNOME_MusicusApplet.server $(BONOBO_DIR)
mkdir -p $(DATA_DIR)
cp data/musicus-mpc.png $(DATA_DIR)
cp data/musicus-mpc.png $(DATA_DIR)/musicus-applet.png
mkdir -p $(SHARE_DIR)/musicus_applet
Expand Down

0 comments on commit e07e0c5

Please sign in to comment.