aboutsummaryrefslogtreecommitdiff
path: root/packages/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-09-30 20:34:05 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-09-30 20:34:05 +0000
commit6c5111aeed8a81b4b9550f833c2ae293b87dc162 (patch)
tree46ad8cced17cae3f6771c951998b4f0c583aa8c2 /packages/Makefile
parentecc2b92fa181002415d67c5d63887441a4cf28af (diff)
created pd_startup_install target for setting up pd/startup and works with makefile.mingw builds; also add all phony targets to .PHONY
svn path=/trunk/; revision=15428
Diffstat (limited to 'packages/Makefile')
-rw-r--r--packages/Makefile23
1 files changed, 14 insertions, 9 deletions
diff --git a/packages/Makefile b/packages/Makefile
index 9f98693f..54ebfc07 100644
--- a/packages/Makefile
+++ b/packages/Makefile
@@ -118,14 +118,6 @@ pd_install: pd
$(MAKE) -C $(pd_src) $(DEST_PATHS) $(PD_BUILD_FLAGS) install
install -d $(DESTDIR)$(manualsdir)/$(PD_NAME)
install -p $(pd_src)/src/notes.txt $(DESTDIR)$(manualsdir)/$(PD_NAME)
-# make loaders start automatically by being in new 'startup' folder
- install -d $(DESTDIR)$(libpddir)/startup
- cd $(DESTDIR)$(libpddir)/startup && \
- ln -s -f ../extra/libdir/libdir.$(EXTENSION) 0.libdir.$(EXTENSION) && \
- ln -s -f ../extra/vanilla/list.$(EXTENSION) 1.list.$(EXTENSION) && \
- ln -s -f ../extra/vanilla/ vanilla && \
- ln -s -f ../extra/extra/ extra && \
- ln -s -f ../extra/pdlua/ pdlua
else
#----------------------------------------------------------------------------#
# old build system
@@ -164,7 +156,7 @@ endif
# this is used for installing into a pre-build Pd binary
extended_install: abstractions_install doc_install \
externals_install readme_install welcome_install \
-license_install noncvs_install
+license_install noncvs_install pd_startup_install
#------------------------------------------------------------------------------
@@ -209,6 +201,17 @@ noncvs_install:
tar --exclude-vcs --create * | \
tar --extract --directory $(DESTDIR)$(objectsdir) )
+#------------------------------------------------------------------------------
+# make loaders start automatically by being in new 'startup' folder
+pd_startup_install:
+ install -d $(DESTDIR)$(libpddir)/startup
+ cd $(DESTDIR)$(libpddir)/startup && \
+ ln -s -f ../extra/libdir/libdir.$(EXTENSION) 0.libdir.$(EXTENSION) && \
+ ln -s -f ../extra/vanilla/list.$(EXTENSION) 1.list.$(EXTENSION) && \
+ ln -s -f ../extra/vanilla/ vanilla && \
+ ln -s -f ../extra/extra/ extra && \
+ ln -s -f ../extra/pdlua/ pdlua
+
#==============================================================================#
#
@@ -428,3 +431,5 @@ test_locations:
@echo "MANUALSDIR $(manualsdir)"
@echo "EXAMPLESDIR $(examplesdir)"
@echo "HAVE_AUTOGEN_SH --$(HAVE_AUTOGEN_SH)--"
+
+.PHONY = abstractions doc externals pd pd_install pd_startup_install extended_install install devel_install abstractions_install doc_install extensions_install externals_install noncvs_install license_install welcome_install readme_install doc_format set_version unset_version abstractions_clean doc_clean externals_clean pd_clean clean distclean test_locations