Skip to content

Commit e74978b

Browse files
author
ra
committed
Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches
0 parents  commit e74978b

File tree

1,011 files changed

+781704
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,011 files changed

+781704
-0
lines changed

.cvsignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.AppleDouble
2+
Makefile
3+
audacity
4+
audacity-help.htb
5+
config.log
6+
config.status
7+
aclocal.m4
8+
autom4te.cache

LICENSE.txt

+357
Large diffs are not rendered by default.

Makefile.in

+129
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
2+
INSTALL = @INSTALL@
3+
exec_prefix= @exec_prefix@
4+
prefix= @prefix@
5+
datarootdir= @datarootdir@
6+
BINDIR= @bindir@
7+
DATADIR= @datadir@
8+
DATAROOTDIR = @datarootdir@
9+
MANDIR= @mandir@
10+
AUDACITY_NAME = @AUDACITY_NAME@
11+
EXTRAINSTALLTARGETS= @EXTRAINSTALLTARGETS@
12+
EXTRAUNINSTALLTARGETS= @EXTRAUNINSTALLTARGETS@
13+
14+
.PHONY: all
15+
all: audacity help/audacity.1.gz
16+
17+
.PHONY: audacity
18+
audacity:
19+
$(MAKE) -C lib-src
20+
$(MAKE) -C src
21+
$(MAKE) -C locale
22+
23+
.PHONY: src/libaudacity.a
24+
src/libaudacity.a:
25+
$(MAKE) -C src libaudacity.a
26+
27+
.PHONY: install
28+
install: audacity $(EXTRAINSTALLTARGETS)
29+
# install the binary
30+
$(INSTALL) -d $(DESTDIR)$(BINDIR)
31+
$(INSTALL) -m 755 audacity $(DESTDIR)$(BINDIR)/$(AUDACITY_NAME)
32+
33+
# install docs
34+
$(INSTALL) -d $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)
35+
$(INSTALL) -d $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)
36+
$(INSTALL) -m 644 README.txt $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)/README.txt
37+
$(INSTALL) -m 644 LICENSE.txt $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)/LICENSE.txt
38+
39+
# install manpage
40+
$(INSTALL) -d $(DESTDIR)$(MANDIR)/man1
41+
-test -f help/audacity.1.gz && \
42+
$(INSTALL) -m 644 help/audacity.1.gz \
43+
$(DESTDIR)$(MANDIR)/man1/$(AUDACITY_NAME).1.gz
44+
45+
# install nyquist
46+
$(INSTALL) -d $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/nyquist
47+
$(INSTALL) -m 644 nyquist/*.lsp $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/nyquist
48+
49+
# install plug-ins
50+
$(INSTALL) -d $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/plug-ins
51+
$(INSTALL) -m 644 plug-ins/*.ny $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/plug-ins
52+
53+
# install locales
54+
$(MAKE) -C locale install
55+
56+
# install an icon for audacity
57+
$(INSTALL) -d $(DESTDIR)$(DATADIR)/pixmaps/
58+
$(INSTALL) -m 644 images/AudacityLogo48x48.xpm $(DESTDIR)$(DATADIR)/pixmaps/audacity.xpm
59+
60+
.PHONY: install-extra-data
61+
install-extra-data:
62+
# install desktop file
63+
$(INSTALL) -d $(DESTDIR)$(DATADIR)/applications
64+
$(INSTALL) -m 644 src/audacity.desktop $(DESTDIR)$(DATADIR)/applications
65+
66+
# install MIME information
67+
$(INSTALL) -d $(DESTDIR)$(DATADIR)/mime/packages
68+
$(INSTALL) -m 644 src/audacity.xml $(DESTDIR)$(DATADIR)/mime/packages
69+
70+
.PHONY: install-lrdf-data
71+
install-lrdf-data:
72+
# install basic LRDF ontology file
73+
$(INSTALL) -d $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/rdf
74+
$(INSTALL) -m 644 lib-src/liblrdf/examples/ladspa.rdfs $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/rdf
75+
76+
.PHONY: uninstall
77+
uninstall: $(EXTRAUNINSTALLTARGETS)
78+
rm -rf $(DESTDIR)$(BINDIR)/$(AUDACITY_NAME)
79+
rm -rf $(DESTDIR)$(DATADIR)/doc/$(AUDACITY_NAME)
80+
rm -rf $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)
81+
rm -rf $(DESTDIR)$(MANDIR)/man1/$(AUDACITY_NAME).1.gz
82+
rm -rf $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/audacity.xpm
83+
$(MAKE) -C locale uninstall
84+
85+
.PHONY: uninstall-extra-data
86+
uninstall-extra-data:
87+
rm -f $(DESTDIR)$(DATADIR)/applications/audacity.desktop
88+
rm -f $(DESTDIR)$(DATADIR)/mime/packages/audacity.xml
89+
90+
.PHONY: uninstall-lrdf-data
91+
uninstall-lrdf-data:
92+
rm -f $(DESTDIR)$(DATADIR)/$(AUDACITY_NAME)/rdf/ladspa.rdfs
93+
94+
help/audacity.1.gz:
95+
# gzipping the file this way prevents audacity.1 from getting deleted
96+
cat help/audacity.1 | gzip -9 > help/audacity.1.gz
97+
98+
dox: audacity.dox
99+
doxygen audacity.dox
100+
101+
check: src/libaudacity.a
102+
-$(MAKE) -C tests check
103+
104+
dep:
105+
$(MAKE) -C src dep
106+
107+
clean:
108+
$(MAKE) -C lib-src clean
109+
$(MAKE) -C src clean
110+
-$(MAKE) -C tests clean
111+
rm -f audacity
112+
rm -f help/audacity.1.gz
113+
rm -rf Audacity.app
114+
115+
veryclean: clean
116+
rm -f Makefile src/Makefile lib-src/Makefile
117+
rm -f src/configunix.h
118+
rm -f `find . -name "*~"`
119+
rm -f `find . -name core`
120+
121+
distclean: clean
122+
$(MAKE) -C locale distclean
123+
$(MAKE) -C lib-src distclean
124+
-$(MAKE) -C tests distclean
125+
126+
rm -f Makefile src/Makefile lib-src/Makefile
127+
rm -f locale/Makefile src/configunix.h
128+
rm -f config.log config.status config.cache
129+

0 commit comments

Comments
 (0)