Okay. I have created a new version of the pcmcia-cs package and am currently uploading it. Here is a list of the files it creates:
pcmcia-cs-1.3.100_2.8.16-1_i386.deb The binary version of the package. It includes the modules compiled for kernel version 1.3.100 and all of the pcmcia-cs utility programs. pcmcia-cs-source_2.8.16-1_i386.deb The deb file containing the package sources. It unpacks into the /usr/src/pcmcia-cs-2.8.16 directory and creates a symbolic link to /usr/src/modules/pcmcia-cs. pcmcia-cs_2.8.16-1.tar.gz The package sources in a compressed tar format. pcmcia-cs_2.8.16-1.diff.gz The diff file describing the debianization done to the original package. Here is a list of the targets of the debian.rules file: Standard Targets: build: Build the package (if not configured, configure according to the running kernel). binary: Make the binary package deb file. This can be used by those who customize their own kernel. clean: Clean the package (undoes the effect of the build target). source: Make a compressed tar file of the source. diff: Make a file of the differences between the debianized package and the original package. Special Targets: configure: Configure the package according to the running kernel. changes: Make a changes file (using dchanges) for this package. source_deb: Make a deb file of the package sources. (pcmcia-cs-source_version_i386.deb) dist: Makes all files required for the Debian distribution. (intended for the package maintainer). Targets to be used by the kernel package: kdist_configure: Configure the package (intended for the kernel maintainer). kdist_image: Make the binary package deb file (intended for the kernel maintainer). kdist: Makes all files required for the Debian distribution (intended for the kernel maintainer). When the kdist targets are used the following three variables should be defined: KVERS: The version number of the kernel source. KSRC: The location of the kernel source. KMAINT: The name of the kernel package maintainer (a pgp key for signing the changes file). The kdist target creates a new version of the package's deb file, but does not create a new source or diff file, since it is assumed that these have not changed. It also executes dchanges to create a changes file. While new source and diff files are not created, if these files are present in the $(KSRC)/.. directory, where the new deb file is placed, they will be included in the changes file. This also is true for the pcmcia-cs-source deb file. The dist target is intended for the package maintainer. It creates both deb files (one for the kernel modules and utilities and the other for the source), the source file, the diff file, and a changes file. If the package has not been previously configured (via a configure or kdist_configure target or by using a make config command), it will be configured using the kernel source configuration in the $(KSRC) directory, just as with the kdist target. The build target makes a new deb file. If the package has not been previously configured (via a configure or kdist_configure target or by using a make config command), it will be configured to work with the current running kernel and will use the kernel source files in the /usr/src/linux directory. This target provides a way to compile the kernel modules without using the kernel-source package. -- Brian Mays