Update of /cvsroot/pure-data/packages/linux_make In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9110
Modified Files: Makefile Log Message: copy pdsettings into place for embedded preferences on GNU/Linux; first stab at automated .deb building
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/packages/linux_make/Makefile,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** Makefile 2 Jul 2007 15:17:26 -0000 1.28 --- Makefile 9 Jul 2007 03:07:22 -0000 1.29 *************** *** 60,68 **** #==============================================================================#
! package: tarbz2
PACKAGE_NAME = Pd-$(PD_VERSION)
! deb: # GNOME menu support install -d $(DESTDIR)/usr/share/icons/hicolor/128x128/apps --- 60,74 ---- #==============================================================================#
! # if machine has dpkg-deb, build a Debian package ! DPKG := $(shell test -x `which dpkg-deb` && echo YES) ! ifeq ($(DPKG),YES) ! package: deb ! else ! package: tarbz2 ! endif
PACKAGE_NAME = Pd-$(PD_VERSION)
! deb: $(bindir) # GNOME menu support install -d $(DESTDIR)/usr/share/icons/hicolor/128x128/apps *************** *** 79,89 **** install -d $(DESTDIR)/etc/init.d install -p $(scripts_src)/debian/init.d/pd $(DESTDIR)/etc/init.d # emacs mode for .pd files install -d $(DESTDIR)/usr/share/emacs/site-lisp/ install -p $(scripts_src)/pd-mode.el $(DESTDIR)/usr/share/emacs/site-lisp/ # Pd-related scripts ! install -d $(DESTDIR)/usr/local/bin ! install -p $(scripts_src)/pd-diff $(DESTDIR)/usr/local/bin ! install -p $(scripts_src)/config-switcher.sh $(DESTDIR)/usr/local/bin # debian packaging test -d $(DESTDIR)/DEBIAN || mkdir -p $(DESTDIR)/DEBIAN --- 85,100 ---- install -d $(DESTDIR)/etc/init.d install -p $(scripts_src)/debian/init.d/pd $(DESTDIR)/etc/init.d + # default prefs file + install -d $(DESTDIR)/etc/pd-extended + ln -s $(prefix)/lib/pd/default.pdsettings \ + $(DESTDIR)/etc/pd-extended/default.pdsettings + install -p $(packages_src)/linux_make/.pdsettings \ + $(libpddir)/default.pdsettings # emacs mode for .pd files install -d $(DESTDIR)/usr/share/emacs/site-lisp/ install -p $(scripts_src)/pd-mode.el $(DESTDIR)/usr/share/emacs/site-lisp/ # Pd-related scripts ! install -p $(scripts_src)/pd-diff $(bindir) ! install -p $(scripts_src)/config-switcher.sh $(bindir) # debian packaging test -d $(DESTDIR)/DEBIAN || mkdir -p $(DESTDIR)/DEBIAN