+++ /dev/null
-usr/lib/cc65/include
-usr/lib/cc65/lib
usr/lib/cc65/lib/apple2.lib
-usr/lib/cc65/lib/apple2.o
+usr/lib/cc65/obj/apple2-*.o
+usr/lib/cc65/emd/a2.*.emd
+usr/lib/cc65/joy/a2.*.joy
+usr/lib/cc65/mou/a2.*.mou
+usr/lib/cc65/ser/a2.*.ser
+usr/lib/cc65/tgi/a2.*.tgi
+usr/lib/cc65/cfg/apple2-*.cfg
--- /dev/null
+src/ld65/cfg/apple2enh.cfg
--- /dev/null
+usr/lib/cc65/lib/apple2enh.lib
+usr/lib/cc65/obj/apple2enh-*.o
+usr/lib/cc65/emd/a2e.*.emd
+usr/lib/cc65/joy/a2e.*.joy
+usr/lib/cc65/mou/a2e.*.mou
+usr/lib/cc65/ser/a2e.*.ser
+usr/lib/cc65/tgi/a2e.*.tgi
+usr/lib/cc65/cfg/apple2enh-*.cfg
+++ /dev/null
-usr/lib/cc65/include
-usr/lib/cc65/lib
usr/lib/cc65/lib/atari.lib
-usr/lib/cc65/lib/atari.o
+usr/lib/cc65/tgi/atari*.tgi
+usr/lib/cc65/tgi/atr*.tgi
+usr/lib/cc65/joy/atari*.joy
--- /dev/null
+src/ld65/cfg/atmos.cfg
--- /dev/null
+usr/lib/cc65/lib/atmos.lib
+usr/lib/cc65/tgi/atmos-*.tgi
+usr/lib/cc65/joy/atmos-*.joy
+++ /dev/null
-usr/lib/cc65/include
-usr/lib/cc65/lib
usr/lib/cc65/lib/c128.lib
-usr/lib/cc65/lib/c128.o
+usr/lib/cc65/emd/c128-*.emd
+usr/lib/cc65/joy/c128-*.joy
+usr/lib/cc65/mou/c128-*.mou
+usr/lib/cc65/ser/c128-*.ser
+usr/lib/cc65/tgi/c128-*.tgi
--- /dev/null
+src/ld65/cfg/c16.cfg
--- /dev/null
+usr/lib/cc65/lib/c16.lib
+usr/lib/cc65/emd/c16-*.emd
+usr/lib/cc65/joy/c16-*.joy
+++ /dev/null
-usr/lib/cc65/include
-usr/lib/cc65/lib
+usr/lib/cc65/cfg/c64-*.cfg
usr/lib/cc65/lib/c64.lib
-usr/lib/cc65/lib/c64.o
+usr/lib/cc65/emd/dtv-*.emd
+usr/lib/cc65/emd/c64-*.emd
+usr/lib/cc65/joy/c64-*.joy
+usr/lib/cc65/mou/c64-*.mou
+usr/lib/cc65/ser/c64-*.ser
+usr/lib/cc65/tgi/c64-*.tgi
+++ /dev/null
-usr/lib/cc65/include
-usr/lib/cc65/lib
usr/lib/cc65/lib/cbm510.lib
-usr/lib/cc65/lib/cbm510.o
+usr/lib/cc65/emd/cbm510-*.emd
+usr/lib/cc65/joy/cbm510-*.joy
+usr/lib/cc65/ser/cbm510-*.ser
+++ /dev/null
-usr/lib/cc65/include
-usr/lib/cc65/lib
usr/lib/cc65/lib/cbm610.lib
-usr/lib/cc65/lib/cbm610.o
+usr/lib/cc65/emd/cbm610-*.emd
+usr/lib/cc65/ser/cbm610-*.ser
--- /dev/null
+doc/*.html
+doc/*.txt
+doc/*.dvi
--- /dev/null
+doc/*.info
-usr/lib/cc65/include
-usr/lib/cc65/lib
+usr/lib/cc65/include/geos
-src/ld65/cfg/geos.cfg
+src/ld65/cfg/geos-apple.cfg
+src/ld65/cfg/geos-cbm.cfg
-usr/lib/cc65/lib/geos.lib
-usr/lib/cc65/lib/geos.o
+usr/bin/grc65
+usr/lib/cc65/lib/geos-cbm.lib
+usr/lib/cc65/include/geos/*.h
+usr/lib/cc65/emd/geos-*.emd
+usr/lib/cc65/joy/geos-*.joy
+usr/lib/cc65/tgi/geos-*.tgi
--- /dev/null
+debian/grc65.1
--- /dev/null
+src/ld65/cfg/lynx.cfg
--- /dev/null
+usr/lib/cc65/lib/lynx.lib
+usr/lib/cc65/joy/lynx-*.joy
+usr/lib/cc65/ser/lynx-*.ser
+usr/lib/cc65/tgi/lynx-*.tgi
+usr/lib/cc65/cfg/lynx-*.cfg
--- /dev/null
+src/ld65/cfg/nes.cfg
--- /dev/null
+usr/lib/cc65/lib/nes.lib
+usr/lib/cc65/tgi/nes-*.tgi
+usr/lib/cc65/joy/nes-*.joy
+++ /dev/null
-usr/lib/cc65/include
-usr/lib/cc65/lib
usr/lib/cc65/lib/pet.lib
-usr/lib/cc65/lib/pet.o
+usr/lib/cc65/joy/pet-*.joy
+++ /dev/null
-usr/lib/cc65/include
-usr/lib/cc65/lib
usr/lib/cc65/lib/plus4.lib
-usr/lib/cc65/lib/plus4.o
+usr/lib/cc65/joy/plus4-*.joy
+usr/lib/cc65/ser/plus4-*.ser
--- /dev/null
+src/ld65/cfg/c64.cfg
--- /dev/null
+usr/lib/cc65/lib/supervision.lib
+usr/lib/cc65/cfg/supervision-*.cfg
--- /dev/null
+src/ld65/cfg/vic20.cfg
--- /dev/null
+usr/lib/cc65/lib/vic20.lib
+usr/lib/cc65/joy/vic20-*.joy
+usr/lib/cc65/cfg/vic20-*.cfg
This manual page was written for the Debian GNU/Linux distribution
because the original program does not have a manual page.
Instead, it has documentation in the GNU Info format; see below.
-.PP
-.B cc65
-is a program that...
.SH OPTIONS
The programs follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
usr/bin
usr/lib/cc65/lib
-usr/lib/cc65/include/geos
+usr/lib/cc65/obj
+usr/lib/cc65/ser
+usr/lib/cc65/cfg
+usr/lib/cc65/include
usr/lib/cc65/include/tgi
usr/lib/cc65/asminc
usr/lib/cc65/emd
+usr/lib/cc65/joy
+usr/lib/cc65/mou
usr/lib/cc65/tgi
usr/share/info
announce.txt
doc/BUGS
doc/CREDITS
-doc/*.html
-doc/*.txt
-doc/*.dvi
doc/readme.1st
--- /dev/null
+usr/bin/ar65
+usr/bin/ca65
+usr/bin/ca65html
+usr/bin/cc65
+usr/bin/cl65
+usr/bin/co65
+usr/bin/da65
+usr/bin/ld65
+usr/bin/od65
+usr/lib/cc65/include/*.h
+usr/lib/cc65/include/em/*.h
+usr/lib/cc65/include/joystick/*.h
+usr/lib/cc65/include/mouse/*.h
+usr/lib/cc65/include/sys/*.h
+usr/lib/cc65/include/tgi/*.h
+usr/lib/cc65/asminc/*.inc
debian/cc65.1
debian/cl65.1
debian/da65.1
-debian/grc65.1
debian/ld65.1
debian/od65.1
+++ /dev/null
-#! /bin/sh
-#
-# This is the postinst script for the Debian GNU/Linux cc65 package
-#
-# Written by Michael Klein <michael.klein@puffin.lb.shuttle.de>
-
-#DEBHELPER#
-
-if [ "$1" = "configure" ]; then
- section="Cross-platform development"
-
- install-info --quiet --section "$section" "$section" \
- --description="cc65 archiver" \
- /usr/share/info/ar65.info
- install-info --quiet --section "$section" "$section" \
- --description="cc65 assembler" \
- /usr/share/info/ca65.info
- install-info --quiet --section "$section" "$section" \
- --description="cc65 C compiler" \
- /usr/share/info/cc65.info
- install-info --quiet --section "$section" "$section" \
- --description="cc65 compile and link utility" \
- /usr/share/info/cl65.info
- install-info --quiet --section "$section" "$section" \
- --description="cc65 linker" \
- /usr/share/info/ld65.info
- install-info --quiet --section "$section" "$section" \
- --description="Debugging using the cc65 tools and VICE" \
- /usr/share/info/debugging.info
- install-info --quiet --section "$section" "$section" \
- --description="Direct disk access in cc65" \
- /usr/share/info/dio.info
- install-info --quiet --section "$section" "$section" \
- --description="cc65 GEOSLib" \
- /usr/share/info/geos.info
- install-info --quiet --section "$section" "$section" \
- --description="cc65 coding hints" \
- /usr/share/info/coding.info
- install-info --quiet --section "$section" "$section" \
- --description="cc65 introduction" \
- /usr/share/info/intro.info
- install-info --quiet --section "$section" "$section" \
- --description="cc65 library overview" \
- /usr/share/info/library.info
-fi
+++ /dev/null
-#! /bin/sh
-#
-# This is the prerm script for the Debian GNU/Linux cc65 package
-#
-# Written by Michael Klein <michael.klein@puffin.lb.shuttle.de>
-
-#DEBHELPER#
-
-if [ "$1" = "remove" -o "$1" = "purge" ]; then
- install-info --quiet --remove /usr/share/info/ar65.info
- install-info --quiet --remove /usr/share/info/ca65.info
- install-info --quiet --remove /usr/share/info/cc65.info
- install-info --quiet --remove /usr/share/info/cl65.info
- install-info --quiet --remove /usr/share/info/ld65.info
- install-info --quiet --remove /usr/share/info/debugging.info
- install-info --quiet --remove /usr/share/info/dio.info
- install-info --quiet --remove /usr/share/info/geos.info
- install-info --quiet --remove /usr/share/info/coding.info
- install-info --quiet --remove /usr/share/info/intro.info
- install-info --quiet --remove /usr/share/info/library.info
-fi
+cc65 (2.13.9-svn5395-1) stable; urgency=low
+
+ * New upstream SVN version
+
+ -- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Sun, 08 Jan 2012 12:05:17 +0100
+
+cc65 (2.13.9-svn5353-1) stable; urgency=low
+
+ * New upstream SVN version
+
+ -- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Sun, 01 Jan 2012 20:09:11 +0100
+
+cc65 (2.13.2-3) stable; urgency=low
+
+ * Change cc65-doc so we do not need new binary packages.
+
+ -- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Tue, 03 Aug 2010 21:17:00 +0200
+
+cc65 (2.13.2-2) stable; urgency=low
+
+ * Fix for cc65-doc package
+
+ -- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Tue, 03 Aug 2010 20:35:00 +0200
+
+cc65 (2.13.2-1) stable; urgency=low
+
+ * New upstream version
+
+ -- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Wed, 17 Mar 2010 10:44:00 +0100
+
+cc65 (2.13.0svn4529-3) stable; urgency=low
+
+ * Add patch so the other libsrc/*/ directories compile even with installed
+ cc65 headers.
+
+ -- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Fri, 18 Dec 2009 19:37:00 +0100
+
+cc65 (2.13.0svn4529-2) stable; urgency=low
+
+ * Add patch so libsrc/tgi compiles even with installed cc65 headers.
+
+ -- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Thu, 17 Dec 2009 21:12:00 +0100
+
+cc65 (2.13.0svn4529-1) stable; urgency=low
+
+ * New upstream SVN version
+
+ -- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Wed, 16 Dec 2009 19:44:00 +0100
+
+cc65 (2.13.0svn4389-2) stable; urgency=low
+
+ * New rules, using newer debhelper
+ * Split documentation in it's own package
+ * Add packages for apple2enh, lynks, atmos, nes and supervision
+ * Add missing build-dependencies
+ * Don't build info files, some names conflict with already used names from other packages
+
+ -- Daniel Serpell <daniel.serpell@gmail.com> Mon, 26 Oct 2009 08:57:54 -0300
+
+cc65 (2.13.0svn4389-1) stable; urgency=low
+
+ * Added bugfixes from upstream SVN
+
+ -- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Sun, 25 Oct 2009 11:47:00 +0100
+
+cc65 (2.13.0-1) stable; urgency=low
+
+ * New upstream version
+
+ -- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Fri, 23 Oct 2009 13:46:00 +0200
+
+cc65 (2.12.0-1) stable; urgency=low
+
+ * New upstream version
+
+ -- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Tue, 22 Apr 2008 19:11:00 +0200
+
+cc65 (2.11.9-cvs20070211-1) stable; urgency=low
+
+ * New upstream version (cvs)
+
+ -- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Fri, 22 Feb 2007 21:30:00 +0100
+
+cc65 (2.11.9-cvs20060823-1) stable; urgency=low
+
+ * New upstream version (cvs)
+
+ -- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Thu, 14 Sep 2006 17:44:03 +0100
+
+cc65 (2.11.9-cvs20060606-2) stable; urgency=low
+
+ * compile for sarge
+
+ -- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Mon, 17 Jul 2006 20:54:27 +0100
+
+cc65 (2.11.9-cvs20060606-1) stable; urgency=low
+
+ * New upstream version (cvs)
+
+ -- Spiro Trikaliotis <ml-cc65@trikaliotis.net> Mon, 17 Jul 2006 19:52:13 +0100
+
cc65 (2.11.0-1) stable; urgency=low
* New upstream version
Section: non-free/devel
Priority: optional
Maintainer: Michael Klein <michael.klein@puffin.lb.shuttle.de>
-Build-Depends: debhelper, linuxdoc-tools, perl
+Build-Depends: debhelper, linuxdoc-tools, groff, dpatch
Standards-Version: 3.2.1
Package: cc65
-Suggests: cc65-apple2, cc65-atari, cc65-c128, cc65-c64, cc65-cbm510, cc65-cbm610, cc65-geos, cc65-pet, cc65-plus4, cc65-c16, cc65-vic20
+Suggests: cc65-apple2, cc65-apple2enh, cc65-atari, cc65-c128, cc65-c64, cc65-cbm510, cc65-cbm610, cc65-geos, cc65-pet, cc65-plus4, cc65-c16, cc65-vic20
Architecture: any
Depends: ${shlibs:Depends}
Description: Crosscompiler/Crossassembler for 6502 systems
A C crosscompiler for 6502 systems, including a macroassembler that
supports 6502, 65SC02 and 65816 CPUs, a linker, an archiver and some
other tools. To create programs for one of the supported target
- machines, you have to install at least one of the library packages.
+ machines, you have to install at least one of the target platform
+ packages in addition to the main package.
+
+Package: cc65-doc
+Architecture: all
+Depends: cc65 (>= 2.13.2-1)
+Description: Documentation for the cc65 C compiler
+ This package contains the documentation for the cc65 C compiler, in HTML
+ and info format.
Package: cc65-apple2
Architecture: all
This package contains the header files and libraries needed to write
programs for the Apple ][ using the cc65 crosscompiler.
+Package: cc65-apple2enh
+Architecture: all
+Depends: cc65 (= ${Source-Version})
+Description: Apple //e specific libraries and headers for the cc65 compiler
+ This package contains the header files and libraries needed to write
+ programs for the Apple //e using the cc65 crosscompiler.
+
Package: cc65-atari
Architecture: all
Depends: cc65 (= ${Source-Version})
This package contains the header files and libraries needed to write
programs for the 8 bit Atari machines using the cc65 crosscompiler.
+Package: cc65-atmos
+Architecture: all
+Depends: cc65 (= ${Source-Version})
+Description: Oric Atmos specific libraries and headers for the cc65 compiler
+ This package contains the header files and libraries needed to write
+ programs for the Oric Atmos using the cc65 crosscompiler.
+
Package: cc65-c128
Architecture: all
Depends: cc65 (= ${Source-Version})
This package contains the header files and libraries needed to write
GEOS programs for the C64/C128 using the cc65 crosscompiler.
+Package: cc65-lynx
+Architecture: all
+Depends: cc65 (= ${Source-Version})
+Description: Lynx specific libraries and headers for the cc65 compiler
+ This package contains the header files and libraries needed to write
+ programs for the Lynx Game Console using the cc65 crosscompiler.
+
+Package: cc65-nes
+Architecture: all
+Depends: cc65 (= ${Source-Version})
+Description: NES specific libraries and headers for the cc65 compiler
+ This package contains the header files and libraries needed to write
+ programs for the Nintendo Entertainment System using the cc65
+ crosscompiler.
+
Package: cc65-pet
Architecture: all
Depends: cc65 (= ${Source-Version})
programs for the Commodore Plus/4 and C16/116 using the cc65
crosscompiler.
+Package: cc65-supervision
+Architecture: all
+Depends: cc65 (= ${Source-Version})
+Description: Supervision specific libraries and headers for the cc65 compiler
+ This package contains the header files and libraries needed to write
+ programs for the Supervision Game console using the cc65 crosscompiler.
+
Package: cc65-c16
Architecture: all
Depends: cc65 (= ${Source-Version})
--- /dev/null
+#! /bin/bash
+
+#exit 1
+
+FILE=debian/cc65-doc.postinst.debhelper
+
+oldpatch() {
+ # $1 = file
+ # $2 = description
+
+ sed -ie "s/\(install-info --quiet\) \(\/usr\/share\/info\/$1.info\)/\1 --section CC65.* \"CC65 cross-compiler for 6502 systems\" --description=\"$2\" \2/" $FILE
+}
+
+patch() {
+ # $1 = file (i.e., cc65 for cc65.info)
+ # $2 = description
+
+ sed -ie "1iINFO-DIR-SECTION CC65 \"CC65 cross-compiler for 6502 systems\"\nSTART-INFO-DIR-ENTRY\n* $1: ($1). \"$2\"\nEND-INFO-DIR-ENTRY\n\n" doc/$1.info
+}
+
+patch index "cc65 documentation overview"
+
+# Program documentation
+patch ar65 "Describes the ar65 archiver."
+patch ca65 "Describes the ca65 macro assembler."
+patch ca65html "Describes the ca65html assembler-source-to-HTML converter."
+patch cc65 "Describes the cc65 C compiler."
+patch cl65 "Describes the cl65 compile & link utility."
+patch co65 "Describes the co65 object-file converter."
+patch da65 "Describes the da65 6502\/65C02 disassembler."
+patch grc65 "Describes the GEOS resource compiler (grc)."
+patch ld65 "Describes the ld65 linker."
+patch od65 "Describes the od65 object file dump utility."
+
+# Usage
+patch intro "Describes the use of the tools, by building a short 'hello world' example"
+patch coding "Contains hints on creating the most effective code with cc65."
+patch using-make "Build programs, using the GNU Make utility."
+patch customizing "How to use the cc65 toolset for a custom hardware platform (a target system not currently supported by the cc65 library set)."
+patch debugging "Debug programs, using the VICE emulator."
+
+# Library information and other references
+patch funcref "A (currently incomplete) function reference."
+patch dio "Low-level disk I\/O API."
+patch geos "The GEOSLib manual."
+patch library "An overview over the cc65 runtime and C libraries."
+
+# Platform-specific information
+patch apple2 "Topics specific to the Apple ][."
+patch apple2enh "Topics specific to the enhanced Apple \/\/e."
+patch atari "Topics specific to the Atari 8-bit machines."
+patch atmos "Topics specific to the Oric Atmos."
+patch c128 "Topics specific to the Commodore 128."
+patch c16 "Topics specific to the Commodore 16\/116."
+patch c64 "Topics specific to the Commodore 64."
+patch cbm510 "Topics specific to the Commodore 510."
+patch cbm610 "Topics specific to the Commodore 610."
+patch lynx "Topics specific to the Atari Lynx Game Console."
+patch nes "Topics specific to the Nintendo Entertainment System."
+patch pet "Topics specific to the Commodore PET machines."
+patch plus4 "Topics specific to the Commodore Plus\/4."
+patch supervision "Topics specific to the Supervision Console."
+patch vic20 "Topics specific to the Commodore VIC20."
--- /dev/null
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## apple2doc.dpatch by <ml-cc65@trikaliotis.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
# Made with the aid of debmake, by Christoph Lameter,
# based on the sample debian/rules file for GNU hello by Ian Jackson.
-export DH_COMPAT=3
+#export DH_COMPAT=5
+
+include /usr/share/dpatch/dpatch.make
build: build-stamp
-build-stamp:
+build-stamp: patch
dh_testdir
+ install -d libsrc/apple2enh/extra
+
# Add here commands to compile the package.
$(MAKE) -C src -f make/gcc.mak
$(MAKE) -C libsrc
- $(MAKE) -C doc all
+ $(MAKE) -C doc txt html info
+
+
+ chmod 755 debian/fixinfo
+ debian/fixinfo
touch build-stamp
-clean:
+ [ -e announce.txt ] || touch announce.txt
+
+clean: unpatch
dh_testdir
dh_testroot
- dh_clean
- -rm -f build-stamp
+ rm -f build-stamp
+
-$(MAKE) -C src -f make/gcc.mak zap
-$(MAKE) -C libsrc zap
-$(MAKE) -C doc zap
- -rm -f `find . -name "*~"`
-
-binary-indep: build
- dh_testdir -i
- dh_testroot -i
- dh_installdirs -i
- for arch in apple2 atari c128 c64 cbm510 cbm610 geos pet plus4 c16 vic20; do \
- install -m0755 -d debian/cc65-$$arch/usr/lib/cc65/lib; \
- install -m0644 `pwd`/libsrc/$$arch.lib debian/cc65-$$arch/usr/lib/cc65/lib/; \
- install -m0644 `pwd`/libsrc/$$arch.o debian/cc65-$$arch/usr/lib/cc65/lib/; \
- for f in `pwd`/libsrc/$$arch-*.emd; do \
- if [ -f $$f ]; then \
- install -m0755 -d debian/cc65-$$arch/usr/lib/cc65/emd; \
- install -m0644 $$f debian/cc65-$$arch/usr/lib/cc65/emd/; \
- fi; \
- done; \
- for f in `pwd`/libsrc/$$arch-*.tgi; do \
- if [ -f $$f ]; then \
- install -m0755 -d debian/cc65-$$arch/usr/lib/cc65/tgi; \
- install -m0644 $$f debian/cc65-$$arch/usr/lib/cc65/tgi/; \
- fi; \
- done; \
- dh_installdocs -p cc65-$$arch src/ld65/cfg/$$arch.cfg; \
- done
- dh_installchangelogs -i
- dh_compress -i
- dh_fixperms -i
- dh_installdeb -i
- dh_shlibdeps -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
-
-binary-arch: checkroot build
- dh_testdir -a
- dh_testroot -a
- dh_installdirs -a
- dh_installmenu -a
- for bin in ar65 ca65 cc65 cl65 da65 grc65 ld65 od65 ca65html; do \
- install -m0755 `pwd`/src/$$bin/$$bin debian/cc65/usr/bin; \
+
+ # remove files that the upstream system erroneously left behind
+ [ ! -e libsrc/geos-cbm/devel/geos-tgi.tgi ] || rm libsrc/geos-cbm/devel/geos-tgi.tgi
+ [ ! -e libsrc/geos-cbm/devel/geos-vdc.emd ] || rm libsrc/geos-cbm/devel/geos-vdc.emd
+ [ ! -e libsrc/geos-cbm/devel/geos-stdjoy.joy ] || rm libsrc/geos-cbm/devel/geos-stdjoy.joy
+
+ dh_clean
+
+install: DH_OPTIONS=
+install: build
+ dh_testdir
+ dh_testroot
+ dh_installdirs
+
+ # Add here commands to install the package into debian/tmp.
+ # (copied from RPM spec file)
+ mkdir -p debian/tmp/usr/bin
+ mkdir -p debian/tmp/usr/lib/cc65/asminc
+ mkdir -p debian/tmp/usr/lib/cc65/cfg
+ mkdir -p debian/tmp/usr/lib/cc65/emd
+ mkdir -p debian/tmp/usr/lib/cc65/include/em
+ mkdir -p debian/tmp/usr/lib/cc65/include/geos
+ mkdir -p debian/tmp/usr/lib/cc65/include/joystick
+ mkdir -p debian/tmp/usr/lib/cc65/include/mouse
+ mkdir -p debian/tmp/usr/lib/cc65/include/sys
+ mkdir -p debian/tmp/usr/lib/cc65/include/tgi
+ mkdir -p debian/tmp/usr/lib/cc65/joy
+ mkdir -p debian/tmp/usr/lib/cc65/lib
+ mkdir -p debian/tmp/usr/lib/cc65/mou
+ mkdir -p debian/tmp/usr/lib/cc65/obj
+ mkdir -p debian/tmp/usr/lib/cc65/ser
+ mkdir -p debian/tmp/usr/lib/cc65/tgi
+
+ # Binaries
+ install -s -m 755 src/ar65/ar65 debian/tmp/usr/bin
+ install -s -m 755 src/ca65/ca65 debian/tmp/usr/bin
+ install -m 755 src/ca65html/ca65html debian/tmp/usr/bin
+ install -s -m 755 src/cc65/cc65 debian/tmp/usr/bin
+ install -s -m 755 src/cl65/cl65 debian/tmp/usr/bin
+ install -s -m 755 src/co65/co65 debian/tmp/usr/bin
+ install -s -m 755 src/da65/da65 debian/tmp/usr/bin
+ install -s -m 755 src/grc65/grc65 debian/tmp/usr/bin
+ install -s -m 755 src/ld65/ld65 debian/tmp/usr/bin
+ install -s -m 755 src/od65/od65 debian/tmp/usr/bin
+
+ # Libraries and includes
+ install -m 644 libsrc/*.lib debian/tmp/usr/lib/cc65/lib
+ install -m 644 include/*.h debian/tmp/usr/lib/cc65/include
+ install -m 644 include/geos/*.h debian/tmp/usr/lib/cc65/include/geos
+ install -m 644 include/em/*.h debian/tmp/usr/lib/cc65/include/em
+ install -m 644 include/joystick/*.h debian/tmp/usr/lib/cc65/include/joystick
+ install -m 644 include/mouse/*.h debian/tmp/usr/lib/cc65/include/mouse
+ install -m 644 include/sys/*.h debian/tmp/usr/lib/cc65/include/sys
+ install -m 644 include/tgi/*.h debian/tmp/usr/lib/cc65/include/tgi
+ install -m 644 asminc/*.inc debian/tmp/usr/lib/cc65/asminc
+
+ # Extra object files
+ for extra in libsrc/*-*.o; do \
+ install -m 644 $${extra} debian/tmp/usr/lib/cc65/obj; \
done
- for info in ar65 ca65 cc65 cl65 ld65 debugging dio geos coding intro library; do \
- install -m0755 `pwd`/doc/$$info.info* debian/cc65/usr/share/info; \
+
+ # Additional linker configurations
+ for config in src/ld65/cfg/*-*.cfg; do \
+ install -m 644 $${config} debian/tmp/usr/lib/cc65/cfg; \
done
- install -m0644 `pwd`/include/*.h debian/cc65/usr/lib/cc65/include
- install -m0644 `pwd`/include/geos/*.h debian/cc65/usr/lib/cc65/include/geos
- install -m0644 `pwd`/include/tgi/*.h debian/cc65/usr/lib/cc65/include/tgi
- install -m0644 `pwd`/asminc/*.inc debian/cc65/usr/lib/cc65/asminc
- dh_installman -a
- dh_installdocs -a
- dh_installexamples -a
- dh_installchangelogs -a
- dh_compress -a
- dh_fixperms -a
+
+ # Drivers
+ install -m 644 libsrc/*.emd debian/tmp/usr/lib/cc65/emd
+ install -m 644 libsrc/*.joy debian/tmp/usr/lib/cc65/joy
+ install -m 644 libsrc/*.mou debian/tmp/usr/lib/cc65/mou
+ install -m 644 libsrc/*.ser debian/tmp/usr/lib/cc65/ser
+ install -m 644 libsrc/*.tgi debian/tmp/usr/lib/cc65/tgi
+
+ dh_install
+ dh_movefiles
+
+# This single target is used to build all the packages, all at once, or
+# one at a time. So keep in mind: any options passed to commands here will
+# affect _all_ packages. Anything you want to only affect one package
+# should be put in another target, such as the install target.
+binary-common:
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_installmenu
+# dh_installcatalogs
+# dh_installmime
+# dh_installinit
+ dh_installman
+ dh_installinfo
+# dh_installwm
+# dh_lintian
+# dh_bugfiles
+# dh_undocumented
dh_strip
- dh_installdeb -a
- dh_shlibdeps -a
- dh_gencontrol -a
- dh_md5sums -a
- dh_builddeb -a
+ dh_link
+ dh_compress
+ dh_fixperms
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+# Build architecture independant packages using the common target.
+binary-indep: build install
+ $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build install
+ $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+# Any other binary targets build just one binary package at a time.
+binary-%: build install
+ make -f debian/rules binary-common DH_OPTIONS=-p$*
binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary-common binary install
-.PHONY: binary binary-arch binary-indep clean checkroot
--- /dev/null
+3.0 (quilt)