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

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

[nongnu] elpa/sweeprolog 19d725b869 129/166: New make target: make info


From: ELPA Syncer
Subject: [nongnu] elpa/sweeprolog 19d725b869 129/166: New make target: make info
Date: Fri, 30 Sep 2022 04:59:31 -0400 (EDT)

branch: elpa/sweeprolog
commit 19d725b869882a08834367cb11b302d9a2f7b6e7
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eshel Yaron <me@eshelyaron.com>

    New make target: make info
---
 Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index a2bb127679..ca0f96d6c0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,3 @@
-CURRENT_DIR := $(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
-
 BASENAME = sweep
 
 UNAME_S := $(shell uname -s)
@@ -30,7 +28,7 @@ CFLAGS  += -Wextra
 CFLAGS  += -O2
 CFLAGS  += -I$(SWIPLBASE)/include
 
-.PHONY: clean all check
+.PHONY: clean all check info
 
 all: $(TARGET)
 
@@ -43,6 +41,7 @@ $(TARGET): $(OBJECT)
 clean:
        rm -f $(TARGET) $(OBJECT) $(BASENAME).info $(BASENAME).texi 
$(BASENAME).html
 
+info: $(BASENAME).info
 $(BASENAME).info:: README.org
        $(EMACS) -Q --batch --eval "(require 'ox-texinfo)" \
                --eval "(with-current-buffer (find-file \"README.org\") 
(org-export-to-file (quote texinfo) \"$@\" nil nil nil nil nil (quote 
org-texinfo-compile)))"



reply via email to

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