Update of /cvsroot/pure-data/extensions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1847
Modified Files: Makefile Makefile.buildlayout Log Message:
- finally got a Linux Pd-extended release out, RC5
- built a tar.bz2 package maker with a generated Makefile for installing and uninstalling
- switched all Makefiles to follow GNU $(DESTDIR)/$(prefix) standards
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/extensions/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile 28 Nov 2005 02:32:31 -0000 1.1 --- Makefile 28 Nov 2005 06:53:50 -0000 1.2 *************** *** 12,16 **** # these are designed to be overridden by the packages/Makefile cvs_root_dir = $(CWD)/.. ! prefix = build BUILDLAYOUT_DIR = $(CWD)
--- 12,16 ---- # these are designed to be overridden by the packages/Makefile cvs_root_dir = $(CWD)/.. ! DESTDIR = $(CWD)/build/ BUILDLAYOUT_DIR = $(CWD)
Index: Makefile.buildlayout =================================================================== RCS file: /cvsroot/pure-data/extensions/Makefile.buildlayout,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile.buildlayout 28 Nov 2005 02:32:31 -0000 1.2 --- Makefile.buildlayout 28 Nov 2005 06:53:50 -0000 1.3 *************** *** 41,44 **** --- 41,45 ---- OS_NAME = linux EXTENSION = pd_linux + prefix = /usr/local else ifeq ($(UNAME),Darwin) *************** *** 76,86 ****
# destinations examplesdir = $(pddocdir)/examples - bindir = $(prefix)/bin - pddocdir = $(prefix)/doc - includedir = $(prefix)/include - libdir = $(prefix)/lib - mandir = $(prefix)/man - objectsdir = $(prefix)/extra helpdir = $(pddocdir)/5.reference manualsdir = $(pddocdir)/manuals --- 77,99 ----
# destinations + bindir = $(DESTDIR)$(prefix)/bin + includedir = $(DESTDIR)$(prefix)/include + libdir = $(DESTDIR)$(prefix)/lib + mandir = $(DESTDIR)$(prefix)/man + + ifeq ($(OS_NAME),darwin) + objectsdir = $(DESTDIR)$(prefix)/extra + pddocdir = $(DESTDIR)$(prefix)/doc + else + ifeq ($(OS_NAME),win) + objectsdir = $(DESTDIR)$(prefix)/extra + pddocdir = $(DESTDIR)$(prefix)/doc + else + objectsdir = $(libdir)/pd/extra + pddocdir = $(libdir)/pd/doc + endif + endif + examplesdir = $(pddocdir)/examples helpdir = $(pddocdir)/5.reference manualsdir = $(pddocdir)/manuals *************** *** 94,115 ****
# first make sure that the directory structure is setup ! $(prefix): ! install -d $(prefix)
! $(examplesdir): $(prefix) install -d $(examplesdir)
! $(pddocdir): $(prefix) install -d $(pddocdir)
! $(helpdir): $(prefix) install -d $(helpdir)
! $(manualsdir): $(prefix) install -d $(manualsdir)
! $(objectsdir): $(prefix) install -d $(objectsdir)
#==============================================================================# --- 107,135 ----
# first make sure that the directory structure is setup ! $(DESTDIR): ! install -d $(DESTDIR)
! $(bindir): $(DESTDIR) ! install -d $(bindir) ! ! $(examplesdir): $(DESTDIR) install -d $(examplesdir)
! $(includedir): $(DESTDIR) ! install -d $(includedir) ! ! $(pddocdir): $(DESTDIR) install -d $(pddocdir)
! $(helpdir): $(DESTDIR) install -d $(helpdir)
! $(manualsdir): $(DESTDIR) install -d $(manualsdir)
! $(objectsdir): $(DESTDIR) install -d $(objectsdir)
+ installdirs: $(DESTDIR) $(bindir) $(examplesdir) $(pddocdir) $(includedir) $(helpdir) $(manualsdir) $(objectsdir)
#==============================================================================# *************** *** 131,135 ****
# release version for this distro ! PACKAGE_VERSION = extended-RC6 PACKAGE_NAME = Pd-$(PD_VERSION)-$(PACKAGE_VERSION)
--- 151,155 ----
# release version for this distro ! PACKAGE_VERSION = extended-RC5 PACKAGE_NAME = Pd-$(PD_VERSION)-$(PACKAGE_VERSION)
*************** *** 185,191 **** install_clean: applications_clean help_clean manuals_clean objects_clean -rmdir $(pddocdir) ! -rmdir $(prefix) @echo " " ! @echo "Build destination cleaned: $(prefix)"
--- 205,212 ---- install_clean: applications_clean help_clean manuals_clean objects_clean -rmdir $(pddocdir) ! -rmdir $(DESTDIR)$(prefix) ! -rmdir $(DESTDIR) @echo " " ! @echo "Build destination cleaned: $(DESTDIR)"