emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/org-journal 0c64928534 3/4: Update Makefile


From: ELPA Syncer
Subject: [nongnu] elpa/org-journal 0c64928534 3/4: Update Makefile
Date: Sun, 7 Jan 2024 13:00:02 -0500 (EST)

branch: elpa/org-journal
commit 0c649285348d8c988403983b0a4ab5c0c9d22238
Author: Christian Schwarzgruber <c.schwarzgruber.cs@gmail.com>
Commit: Christian Schwarzgruber <c.schwarzgruber.cs@gmail.com>

    Update Makefile
    
    Change clean command
    Add gen-autoloads to all target
---
 Makefile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index bb68854b2f..9b921fba49 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,11 @@
 EMACS=emacs
 export LC_ALL=C
 
-all: clean compile test
+all: clean compile gen-autoloads test
 
-test:
-       ${EMACS} -Q -batch -L . -l tests/org-journal-test -f 
ert-run-tests-batch-and-exit
+# Forcefully remove files ignored by Git.
+clean:
+       git clean -Xf
 
 compile:
        ${EMACS} -Q -batch -L . -f batch-byte-compile tests/org-journal-test.el 
org-journal.el
@@ -12,5 +13,5 @@ compile:
 gen-autoloads:
        ${EMACS} -Q -batch -L . -l org-journal.el --eval 
'`(generate-file-autoloads "org-journal-autoloads.el")`'
 
-clean:
-       rm -f *.elc
+test:
+       ${EMACS} -Q -batch -L . -l tests/org-journal-test -f 
ert-run-tests-batch-and-exit



reply via email to

[Prev in Thread] Current Thread [Next in Thread]