Browse Source

Makefile: Add the beginnings of an install rule.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
c8a74348ba
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      Makefile

+ 18
- 0
Makefile View File

@@ -68,6 +68,24 @@ ifneq ($(CALCULATING),yes)
@ makedepend -f- -- $(CXXFLAGS) $(INCLUDES) -- $(SRCS) 2>/dev/null > .deps && echo $(DONE)
endif

install: all
@ echo -n "Installing..."
@ install Timeline/timeline $(prefix)/bin/non-daw
# @ install Mixer/mixer $(prefix)/bin/non-mixer
@ mkdir -p $(prefix)/share/non-daw
@ mkdir -p $(prefix)/share/pixmaps/non-daw
@ mkdir -p $(prefix)/doc/non-daw
@ cp pixmaps/*.png $(prefix)/share/pixmaps/non-daw
@ cp doc/*.html doc/*.png $(prefix)/doc/non-daw
@ cp COPYING $(prefix)/doc/non-daw
@ echo "$(DONE)"
ifneq ($(USE_DEBUG),yes)
@ echo -n "Stripping..."
@ strip $(prefix)/bin/non-daw
@ strip $(prefix)/bin/non-mixer
@ echo "$(DONE)"
endif

clean_deps:
@ rm -f .deps



Loading…
Cancel
Save