|
2010-01-28
, 12:00
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#2
|
In scratchbox, I have 2 .wav files in "maetronome-0.0.2/src/" folder, and in my rules file I try to copy the wavs to /opt/maetronome like this (I took some hints from prboom's rules file):
Autobuilder doesn't have anything bad to say about this, but still the .wavs don't exist after installation of the package (but the folder /opt/maetronome is created anyway). How should I copy the .wavs then?Code:install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/your_appname cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install # Wavs to /opt/maetronome ???? mkdir -p $(dest)/opt/maetronome dh_installdirs opt/maetronome cp ./src/blip.wav $(dest)/opt/maetronome/ cp ./src/click.wav $(dest)/opt/maetronome/
INSTALLS += ... sound sound.path = [dir]/maetronome/ sound.files = *.wav
EDIT: And I think that someone should really improve the quality of the wiki pages about packaging.
The Following 3 Users Say Thank You to danielwilms For This Useful Post: | ||
I am uploading my project (http://talk.maemo.org/showthread.php?t=42420) to extras-devel, and it works fine otherwise, but when I install it from the repo, all files don't get installed.
In scratchbox, I have 2 .wav files in "maetronome-0.0.2/src/" folder, and in my rules file I try to copy the wavs to /opt/maetronome like this (I took some hints from prboom's rules file):
EDIT: And I think that someone should really improve the quality of the wiki pages about packaging.