[9c2140]: Makefile Maximize Restore History

Download this file

Makefile    39 lines (38 with data), 924 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Makefile
all:
@make -C src
@make -C plugins
install:
@make -C src install
@make -C plugins install
@make -C doc install
@make -C bin install
@echo
@echo "Type 'make kde' to install KDE applnks for jEdit and jOpen."
@echo
kde:
@(echo "Where is KDE located? [/opt/kde]";\
read kdedir;\
if [ "$$kdedir" = "" ];\
then\
kdedir=/opt/kde;\
fi;\
cp etc/*.kdelnk $$kdedir/share/applnk/Applications;)
clean:
find -name \*~ -exec rm {} \;
find -name .\*~ -exec rm {} \;
find -name \*.bak -exec rm {} \;
find -name \#\*\# -exec rm {} \;
find -name .\*.swp -exec rm {} \;
find -name \*.class -exec rm {} \;
realclean: clean
find -name \*.jar -exec rm {} \;
alpha:
(cd ..; zip -qr9 jEdit-`date +%Y%m%d`.zip jEdit)
beta:
(cd ..; zip -qr9 jEdit-`grep "CURRENT VERSION:" jEdit/VERSION|\
awk '{print $$3}'`.zip jEdit)
zip: all clean todos alpha beta
todos:
find -name \*.bat -exec todos {} \;
include Rules.make