Hi,

Here is a patch for preparing a file to be uploaded to
ftp://ftp.debian.org/debian/tools/lodlin16.zip

Regards,
Samuel
diff -ur loadlin-1.6c.really1.6c/debian/control loadlin-mine/debian/control
--- loadlin-1.6c.really1.6c/debian/control      2006-01-04 01:53:32.000000000 
+0100
+++ loadlin-mine/debian/control 2006-01-04 01:44:40.000000000 +0100
@@ -3,6 +3,7 @@
 Priority: optional
 Maintainer: LENART Janos <[EMAIL PROTECTED]>
 Standards-Version: 3.6.2.1
+Build-Depends: zip
 
 Package: loadlin
 Architecture: i386 amd64
Seulement dans loadlin-mine/debian: files
diff -ur loadlin-1.6c.really1.6c/debian/rules loadlin-mine/debian/rules
--- loadlin-1.6c.really1.6c/debian/rules        2006-01-04 01:53:32.000000000 
+0100
+++ loadlin-mine/debian/rules   2006-01-04 01:54:48.000000000 +0100
@@ -14,26 +14,30 @@
 # are obsolete.
 
 package=loadlin
+loadlin_zip=loadlin1.6c.zip
 
 build:
        $(checkdir)
        tar xvfz initrd.tgz
+       cd src && tar xvfz srclinux.tgz
+       zip -r $(loadlin_zip) .
        cd initrd && $(CC) -O2 -fomit-frame-pointer freeramdisk.c -o freeramdisk
        touch build
 
 clean:
        $(checkdir)
+       -rm $(loadlin_zip)
        -rm loadlin.exe.gz
        -rm -f build
        -rm -rf initrd
+       -rm -fr src/srclinux
        -rm `find . -name "*~"`
        -rm -rf debian/tmp debian/files* debian/substvars
 
 binary-indep:  checkroot build
        $(checkdir)
-# There are no architecture-independent files to be uploaded
-# generated by this package.  If there were any they would be
-# made here.
+       cp $(loadlin_zip) ..
+       dpkg-distaddfile $(loadlin_zip) byhand -
 
 binary-arch:   checkroot build
        $(checkdir)

Reply via email to