]> git.proxmox.com Git - pve-manager.git/blob - www/manager/Makefile
removed automake/autoconf, removed unused files
[pve-manager.git] / www / manager / Makefile
1 include ../../defines.mk
2
3 JSSRC= \
4 Utils.js \
5 Parser.js \
6 StateProvider.js \
7 VNCConsole.js \
8 data/TimezoneStore.js \
9 data/reader/JsonObject.js \
10 data/PVEProxy.js \
11 data/UpdateQueue.js \
12 data/UpdateStore.js \
13 data/DiffStore.js \
14 data/ObjectStore.js \
15 data/ResourceStore.js \
16 form/Checkbox.js \
17 form/TextField.js \
18 form/RRDTypeSelector.js \
19 form/ComboGrid.js \
20 form/KVComboBox.js \
21 form/Boolean.js \
22 form/NetworkCardSelector.js \
23 form/DiskFormatSelector.js \
24 form/BusTypeSelector.js \
25 form/ControllerSelector.js \
26 form/RealmComboBox.js \
27 form/BondModeSelector.js \
28 form/ViewSelector.js \
29 form/NodeSelector.js \
30 form/FileSelector.js \
31 form/StorageSelector.js \
32 form/BridgeSelector.js \
33 form/CPUModelSelector.js \
34 form/VNCKeyboardSelector.js \
35 form/DisplaySelector.js \
36 form/CacheTypeSelector.js \
37 form/ContentTypeSelector.js \
38 dc/Tasks.js \
39 dc/Log.js \
40 panel/StatusPanel.js \
41 panel/RRDView.js \
42 panel/InputPanel.js \
43 window/Edit.js \
44 window/LoginWindow.js \
45 window/TaskViewer.js \
46 window/Wizard.js \
47 grid/SelectFeature.js \
48 grid/ObjectGrid.js \
49 grid/ResourceGrid.js \
50 tree/ResourceTree.js \
51 panel/ConfigPanel.js \
52 node/DNSEdit.js \
53 node/DNSView.js \
54 node/TimeView.js \
55 node/TimeEdit.js \
56 node/StatusView.js \
57 node/Summary.js \
58 node/ServiceView.js \
59 node/NetworkEdit.js \
60 node/NetworkView.js \
61 node/Syslog.js \
62 node/Tasks.js \
63 node/Config.js \
64 qemu/StatusView.js \
65 qemu/Summary.js \
66 qemu/OSTypeEdit.js \
67 qemu/ProcessorEdit.js \
68 qemu/BootOrderEdit.js \
69 qemu/MemoryEdit.js \
70 qemu/NetworkEdit.js \
71 qemu/CDEdit.js \
72 qemu/HDEdit.js \
73 qemu/DisplayEdit.js \
74 qemu/NotesEdit.js \
75 qemu/NotesView.js \
76 qemu/KeyboardEdit.js \
77 qemu/HardwareView.js \
78 qemu/Options.js \
79 qemu/Config.js \
80 qemu/CreateWizard.js \
81 openvz/CreateWizard.js \
82 storage/ContentView.js \
83 storage/StatusView.js \
84 storage/Summary.js \
85 storage/Browser.js \
86 storage/DirEdit.js \
87 storage/NFSEdit.js \
88 storage/IScsiEdit.js \
89 storage/LVMEdit.js \
90 dc/OptionView.js \
91 dc/StorageView.js \
92 dc/UserEdit.js \
93 dc/UserView.js \
94 dc/GroupView.js \
95 dc/GroupEdit.js \
96 dc/RoleView.js \
97 dc/ACLView.js \
98 dc/AuthView.js \
99 dc/AuthEdit.js \
100 dc/Config.js \
101 Workspace.js
102
103 lint: ${JSSRC}
104 jslint ${JSSRC}
105
106 pvemanagerlib.js: ${JSSRC}
107 cat ${JSSRC} >$@.tmp
108 mv $@.tmp $@
109
110 all: pvemanagerlib.js
111
112 .PHONY: install
113 install: pvemanagerlib.js startup.pl index.pl
114 install -d ${WWWBASEDIR}
115 install -m 0755 -o www-data -g www-data startup.pl ${WWWBASEDIR}
116 install -d ${WWWROOTDIR}
117 install -m 0755 -o www-data -g www-data index.pl ${WWWROOTDIR}
118 install -d ${WWWEXT4DIR}
119 install -m 0644 -o www-data -g www-data pvemanagerlib.js ${WWWEXT4DIR}
120
121 .PHONY: distclean
122 distclean: clean
123
124 .PHONY: clean
125 clean:
126 find . -name '*~' -exec rm {} ';'
127 rm -rf pvemanagerlib.js
128
129
130