[PD-cvs] packages/linux_make Makefile,1.19,1.20 README,1.1,1.2
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Sat Dec 2 22:47:31 CET 2006
Update of /cvsroot/pure-data/packages/linux_make
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27905
Modified Files:
Makefile README
Log Message:
added much clearer install instructions
Index: README
===================================================================
RCS file: /cvsroot/pure-data/packages/linux_make/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** README 29 Nov 2005 19:09:24 -0000 1.1
--- README 2 Dec 2006 21:47:29 -0000 1.2
***************
*** 1,3 ****
--- 1,71 ----
+ ======================
+ Installing Pd-extended
+ ======================
+
+ To install this package of Pd, you need to type somethings on the command
+ line. Open Terminal, xterm, Console, or whatever its called on your machine,
+ and type in the commands listed below.
+
+ To install:
+ tar xjf PACKAGE_NAME.tar.bz2
+ cd PACKAGE_NAME
+ make install
+
+ To uninstall:
+ cd PACKAGE_NAME
+ make uninstall
+
+ To load the default set of libraries, you need to install the .pdsettings file
+ included in the package (~ is your home directory):
+
+ mv .pdsettings ~
+
+ Installing the needed dependencies
+ ----------------------------------
+
+ You will need to install other libraries to make sure that things like MP3,
+ video, etc work properly.
+
+ ___Debian/Ubuntu___
+
+ If you want to save room, then don't install the "-dev" packages.
+
+ http://puredata.org/docs/developer/Debian
+
+
+ ___Fedora Core___
+
+ If you want to save room, then don't install the "-devel" packages.
+
+ http://puredata.org/docs/developer/Fedora
+
+
+
+ Installing in a different location
+ ----------------------------------
+
+ You can install this package elsewhere, but its been compiled to run in
+ /usr/local. If you install it somewhere other than /usr/local, you will only
+ be able to run Pd like this:
+
+ cd /path/to/bin/pd && ./pd
+
+ Here's how to install it elsewhere:
+ To install:
+
+ make install prefix=/path/to
+
+ To uninstall:
+
+ make uninstall prefix=/path/to
+
+
+
+ ====================
+ Building Pd-extended
+ ====================
+
+
To build everything and create an generic installer for linux, do this:
Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/packages/linux_make/Makefile,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** Makefile 21 Oct 2006 04:55:39 -0000 1.19
--- Makefile 2 Dec 2006 21:47:29 -0000 1.20
***************
*** 73,94 ****
install -d $(DESTDIR)$(prefix)
-rm $(INSTALLER_README_FILE)
! touch $(INSTALLER_README_FILE)
! echo -e "$(PACKAGE_NAME)" >> $(INSTALLER_README_FILE)
! echo -e "\n\n" >> $(INSTALLER_README_FILE)
! echo -e "To install:\n" >> $(INSTALLER_README_FILE)
! echo -e "\tmake install\n" >> $(INSTALLER_README_FILE)
! echo -e "To uninstall:\n" >> $(INSTALLER_README_FILE)
! echo -e "\tmake uninstall\n" >> $(INSTALLER_README_FILE)
! echo -e "\n\n" >> $(INSTALLER_README_FILE)
! echo -e "You can install this package elsewhere, but its been compiled to run in $(prefix). If you install it somewhere other than $(prefix), you will only be able to run Pd like this:\n" >> $(INSTALLER_README_FILE)
! echo -e "\tcd /path/to/bin/pd && ./pd\n" >> $(INSTALLER_README_FILE)
! echo -e "Here's how to install it elsewhere:" >> $(INSTALLER_README_FILE)
! echo -e "To install:\n" >> $(INSTALLER_README_FILE)
! echo -e "\tmake install prefix=/path/to\n" >> $(INSTALLER_README_FILE)
! echo -e "To uninstall:\n" >> $(INSTALLER_README_FILE)
! echo -e "\tmake uninstall prefix=/path/to\n" >> $(INSTALLER_README_FILE)
! echo -e "\nTo load the default set of libraries, you need to install the .pdsettings file included in the package:\n\n" >> $(INSTALLER_README_FILE)
! echo -e "mv .pdsettings ~\n\n" >> $(INSTALLER_README_FILE)
! echo -e "(~ is your home directory)\n" >> $(INSTALLER_README_FILE)
--- 73,78 ----
install -d $(DESTDIR)$(prefix)
-rm $(INSTALLER_README_FILE)
! sed 's|PACKAGE_NAME|$(PACKAGE_NAME)|' $(packages_src)/linux_make/README > \
! $(INSTALLER_README_FILE)
More information about the Pd-cvs
mailing list