]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/Makefile
attachment grid: move all-parts controls to tbar, transform back to collapsible title
[pmg-gui.git] / js / Makefile
index c86cd5aa5aca0c4c604877a1bf5154793ecdcb48..9a2bcf26cb673c7037c51fda31db01a4f7c737c3 100644 (file)
@@ -18,15 +18,18 @@ JSSRC=                                                      \
        ActionList.js                                   \
        RuleInfo.js                                     \
        RuleEditor.js                                   \
-       Logo.js                                         \
        MainView.js                                     \
+       controller/QuarantineController.js              \
+       QuarantineContextMenu.js                        \
        QuarantineList.js                               \
        SpamInfoGrid.js                                 \
+       MailInfo.js                                     \
        SpamQuarantine.js                               \
        UserBlackWhiteList.js                           \
        QuarantineView.js                               \
        Dashboard.js                                    \
        dashboard/MailProcessing.js                     \
+       dashboard/NodeInfo.js                           \
        dashboard/SubscriptionInfo.js                   \
        dashboard/MiniGraph.js                          \
        VersionInfo.js                                  \
@@ -35,30 +38,45 @@ JSSRC=                                                      \
        RuleConfiguration.js                            \
        SystemOptions.js                                \
        Subscription.js                                 \
+       BackupConfiguration.js                          \
+       BackupRestore.js                                \
+       PBSSnapshotView.js                              \
+       PBSRemoteEdit.js                                \
+       PBSConfig.js                                    \
        SystemConfiguration.js                          \
        MailProxyRelaying.js                            \
        MailProxyPorts.js                               \
        MailProxyOptions.js                             \
        MailProxyTLS.js                                 \
+       MailProxyTLSPanel.js                            \
+       MailProxyTLSDestinations.js                     \
        Transport.js                                    \
        MyNetworks.js                                   \
        RelayDomains.js                                 \
+       DKIMSettings.js                                 \
+       MailProxyDKIMPanel.js                           \
        MailProxyConfiguration.js                       \
        SpamDetectorLanguages.js                        \
        SpamDetectorOptions.js                          \
        SpamQuarantineOptions.js                        \
+       SpamDetectorStatus.js                           \
        SpamDetectorConfiguration.js                    \
+       SpamDetectorCustom.js                           \
        VirusDetectorOptions.js                         \
        VirusQuarantineOptions.js                       \
        VirusQuarantine.js                              \
+       AttachmentQuarantine.js                         \
+       AttachmentGrid.js                               \
        ClamAVDatabase.js                               \
        VirusDetectorConfiguration.js                   \
        LDAPConfig.js                                   \
        UserEdit.js                                     \
        UserView.js                                     \
+       TFAView.js                                      \
        FetchmailEdit.js                                \
        FetchmailView.js                                \
        UserManagement.js                               \
+       UserSelector.js                                 \
        ViewMailHeaders.js                              \
        PostfixQShape.js                                \
        PostfixMailQueue.js                             \
@@ -77,25 +95,39 @@ JSSRC=                                                      \
        ReceiverStatistics.js                           \
        ContactStatistics.js                            \
        HourlyMailDistribution.js                       \
+       SpamContextMenu.js                              \
+       Certificates.js                                 \
+       Settings.js                                     \
        Application.js
 
 OnlineHelpInfo.js: /usr/bin/asciidoc-pmg
        /usr/bin/asciidoc-pmg scan-extjs ${JSSRC} >$@.tmp
        mv $@.tmp $@
 
-lint: ${JSSRC}
-       jslint ${JSSRC} 
+.lint-incremental: ${JSSRC}
+       eslint $?
+       touch "$@"
+
+.PHONY: lint
+lint: .lint-incremental
+
+.PHONY: check
+check: ${JSSRC}
+       eslint --strict ${JSSRC}
+       touch ".lint-incremental"
 
 pmgmanagerlib.js: OnlineHelpInfo.js ${JSSRC}
-       cat OnlineHelpInfo.js ${JSSRC} >$@.tmp
+       echo "// ${DEB_VERSION_UPSTREAM_REVISION}" > $@.tmp
+       cat OnlineHelpInfo.js ${JSSRC} >> $@.tmp
        mv $@.tmp $@
 
 all: pmgmanagerlib.js
 
 .PHONY: clean
 clean:
+       $(MAKE) -C mobile clean
        find . -name '*~' -exec rm {} ';'       
-       rm -rf pmgmanagerlib.js OnlineHelpInfo.js
+       rm -rf pmgmanagerlib.js pmgmanagerlib.js.tmp OnlineHelpInfo.js