- cp uffi.system.debian $(SYSDIR)/uffi.system
- chmod 0644 $(SYSDIR)/uffi.system
- chown root.root $(SYSDIR)/uffi.system
- $(INSTALL) $(INSTALLFLAGS) $(shell echo src/*.cl) $(REPOSITORYDIR)
- $(INSTALL) $(INSTALLFLAGS) $(shell echo src/mcl/*.cl) $(REPOSITORYDIR)/mcl
- $(INSTALL) $(INSTALLFLAGS) doc/html/* $(DOCDIR)/html
- cp doc/uffi.ps doc/cl-uffi.ps
- rm -f doc/cl-uffi.ps.gz
- gzip doc/cl-uffi.ps
- $(INSTALL) $(INSTALLFLAGS) doc/cl-uffi.ps.gz $(DOCDIR)
- rm -f doc/cl-uffi.ps.gz
+ dh_installdirs -p $(debpkg) $(doc-dir) $(clc-files)/src
+ dh_install $(pkg).asd $(clc-files)
+ dh_install "src/*.lisp" $(clc-files)/src
+ dh_link $(clc-files)/$(pkg).asd $(clc-systems)/$(pkg).asd
+
+ rm -rf doc/html
+ (cd doc; tar xzf html.tar.gz; cd ..)
+ dh_install doc/html $(doc-dir)
+ rm -rf doc/html
+ cp doc/uffi.pdf doc/cl-uffi.pdf
+ rm -f doc/cl-uffi.pdf.gz # ensure file not present before making gz
+ gzip -9 doc/cl-uffi.pdf
+ dh_install doc/cl-uffi.pdf.gz $(doc-dir)
+
+ dh_installdirs -p $(debpkg-tests) $(clc-tests)/tests $(lib-dir)
+ dh_install -p $(debpkg-tests) $(pkg-tests).asd $(clc-tests)
+ dh_install -p $(debpkg-tests) tests/*.lisp tests/*.c $(clc-tests)/tests
+ dh_install -p $(debpkg-tests) tests/*.so $(lib-dir)
+ dh_link -p $(debpkg-tests) $(clc-tests)/$(pkg-tests).asd $(clc-systems)/$(pkg-tests).asd