[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

debian/rules problem while creating multiple packages from Source



Good Morming All,  :-)

I have tried to make 6 Debian Packages from one source because I think 
they are to big and not all people want it. For each Package I have a 
file "debian/xfonts-arabeyes1-<typ>.dirs" created

Now I have:

  ____ ( '/home/michelle/src/xfonts-arabeyes1-1.0.0/debian/rules' ) ____
 /
|  #!/usr/bin/make -f
|
|  PKG_DIR=3Ddebian/xfonts-arabeyes1-
|  TTF_DIR=3D/usr/X11R6/lib/fonts/TrueType/
|
|  clean:
|  	rm -rf debian/xfonts-arabeyes1-aahs debian/xfonts-arabeyes1-aga \
|  	debian/xfonts-arabeyes1-fs debian/xfonts-arabeyes1-kasr \
|  	debian/xfonts-arabeyes1-mcs debian/xfonts-arabeyes1-shmookh \
|  	ae_fonts1 debian/tmp
|
|  build: decompress directories build-aahs build-aga build-fs build-kasr build-mcs build-shmookh
|  decompress:
|  	dh_testdir
|  	tar -xjf ae_fonts1_ttf_1.0.tar.bz2
|
|  directories:
|  	dh_installdirs -A
|
|  build-aahs:
|  	dh_testdir
|  	cp ae_fonts1/AAHS/* $(PKG_DIR)aahs$(TTF_DIR)
|
|  build-aga:
|  	dh_testdir
|  	cp ae_fonts1/AGA/* $(PKG_DIR)aga$(TTF_DIR)
|
|  build-fs:
|  	dh_testdir
|  	cp ae_fonts1/FS/* $(PKG_DIR)fs$(TTF_DIR)
|
|  build-kasr:
|  	dh_testdir
|  	cp ae_fonts1/Kasr/* $(PKG_DIR)kasr$(TTF_DIR)
|
|  build-mcs:
|  	dh_testdir
|  	cp ae_fonts1/MCS/* $(PKG_DIR)mcs$(TTF_DIR)
|
|  build-shmookh:
|  	dh_testdir
|  	cp ae_fonts1/Shmookh/* $(PKG_DIR)shmookh$(TTF_DIR)
|

<snip>

 \______________________________________________________________________


The bizzar thing is, that the firs directory is not created but 
debian/tmp with the right subdirectories. 

Then, all files "debian/xfonts-arabeyes1-<typ>.dirs" are identic
wit the exception of "/usr/share/doc/<package>"

Why does this happen ?
It was working already before...

Here ist the error output from 'dpkg-buildpackage'

  ____ ( 'stdin' ) _____________________________________________________
 /
|  dpkg-buildpackage: source package is xfonts-arabeyes1
|  dpkg-buildpackage: source version is 1.0.0
|  dpkg-buildpackage: source maintainer is Michelle Konzack <linux4michelle at freenet dot de>
|  dpkg-buildpackage: host architecture is i386
|   debian/rules clean
|  rm -rf debian/xfonts-arabeyes1-aahs debian/xfonts-arabeyes1-aga \
|  debian/xfonts-arabeyes1-fs debian/xfonts-arabeyes1-kasr \
|  debian/xfonts-arabeyes1-mcs debian/xfonts-arabeyes1-shmookh \
|  ae_fonts1 debian/tmp
|   dpkg-source -b xfonts-arabeyes1-1.0.0
|  dpkg-source: building xfonts-arabeyes1 in xfonts-arabeyes1_1.0.0.tar.gz
|  dpkg-source: building xfonts-arabeyes1 in xfonts-arabeyes1_1.0.0.dsc
|   debian/rules build
|  dh_testdir
|  tar -xjf ae_fonts1_ttf_1.0.tar.bz2
|  dh_installdirs -A
|  dh_testdir
|  cp ae_fonts1/AAHS/* debian/xfonts-arabeyes1-aahs/usr/X11R6/lib/fonts/TrueType/
|  cp: Kopieren mehrerer Dateien, aber der letzte Parameter "debian/xfonts-arabeyes1-aahs/usr/X11R6/lib/fonts/TrueType/" ist kein Verzeichnis|  "cp --help" gibt weitere Informationen.
|  make: *** [build-aahs] Fehler 1
 \______________________________________________________________________

So it can not copy the files into the first directoy because 
"debian/xfonts-arabeyes1-aahs/usr/X11R6/lib/fonts/TrueType/" 
does not exist but "debian/tmp/usr/X11R6/lib/fonts/TrueType/"

Arggggg....

Please some sugestions...

Thanks
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature