config: Add submodules.

main
Pierre-Antoine 2024-04-28 15:37:14 +02:00
parent bf1ecec96a
commit 4050a919ca
9 changed files with 153 additions and 4 deletions

9
.gitmodules vendored Normal file
View File

@ -0,0 +1,9 @@
[submodule "emacs-deep-nebula"]
path = emacs-deep-nebula
url = https://framagit.org/prouby/emacs-deep-nebula.git
[submodule "emacs-fetch"]
path = emacs-fetch
url = https://framagit.org/prouby/emacs-fetch.git
[submodule "ematrix"]
path = ematrix
url = https://framagit.org/prouby/ematrix.git

52
Makefile Normal file
View File

@ -0,0 +1,52 @@
## Makefile --- emacs-config Makefile. -*- lexical-binding: t; -*-
# Copyright (C) 2024 Pierre-Antoine Rouby
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
MAKE=make
all: compile
compile: compile-src compile-ematrix compile-efetch compile-deep-nebula
compile-src:
$(info SRC)
$(MAKE) -C src compile
compile-ematrix:
$(info EMATRIX)
$(MAKE) -C ematrix compile
compile-efetch:
$(info EFETCH)
$(MAKE) -C emacs-fetch compile
compile-deep-nebula:
$(info DEEP-NEBULA)
$(MAKE) -C emacs-deep-nebula compile
install:
$(info INSTALL)
$(MAKE) -C src install
$(MAKE) -C ematrix install
$(MAKE) -C emacs-fetch install
$(MAKE) -C emacs-deep-nebula install
clean:
$(info CLEAN)
$(MAKE) -C src clean
$(MAKE) -C ematrix clean
$(MAKE) -C emacs-fetch clean
$(MAKE) -C emacs-deep-nebula clean

1
emacs-deep-nebula Submodule

@ -0,0 +1 @@
Subproject commit 49c7e7c8b939eacbdf58c78587931c05f3dde519

1
emacs-fetch Submodule

@ -0,0 +1 @@
Subproject commit e91121ea6e1c72dc9bf9f9daa8956090e291052e

1
ematrix Submodule

@ -0,0 +1 @@
Subproject commit 00abe0ea63a375a9cd9467d1bd6cc7242bf661f5

View File

@ -28,7 +28,7 @@ COMPRESSED_FILE += $(SOURCES:.el=.el.gz)
COMPILED_FILE += $(SOURCES:.el=.elc) COMPILED_FILE += $(SOURCES:.el=.elc)
NATIVE_COMPILED_FILE += $(SOURCES:.el=.eln) NATIVE_COMPILED_FILE += $(SOURCES:.el=.eln)
.PHONY: clean install uninstall compile .PHONY: clean install compile
all: compile all: compile
@ -44,15 +44,15 @@ gz: $(COMPRESSED_FILE)
%.el.gz: %.el %.el.gz: %.el
$(info GZ $<) $(info GZ $@)
@$(GZ) -k $< @$(GZ) -k $<
%.elc: %.el %.elc: %.el
$(info BYTE $<) $(info BYTE $@)
@$(EMACS) $< $(EMACS_COMPILE) @$(EMACS) $< $(EMACS_COMPILE)
%.eln: %.el %.eln: %.el
$(info NATIVE $<) $(info NATIVE $@)
@$(EMACS) $< $(EMACS_NATIVE_COMPILE) @$(EMACS) $< $(EMACS_NATIVE_COMPILE)
# Install # Install

27
src/init/30_efetch.el Normal file
View File

@ -0,0 +1,27 @@
;;; 30_efetch.el --- Init GNUEmacs configuration. -*- lexical-binding: t; -*-
;;
;; Copyright (C) 2024 Pierre-Antoine Rouby
;;
;; Author: Pierre-Antoine Rouby <contact@parouby.fr>
;; Keywords: lisp
;;
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; Personnal GNUEmacs configuration.
;;; Code:
(load-file "~/.emacs.d/efetch/efetch.eln")

27
src/init/30_ematrix.el Normal file
View File

@ -0,0 +1,27 @@
;;; 30_ematrix.el --- Init GNUEmacs configuration. -*- lexical-binding: t; -*-
;;
;; Copyright (C) 2024 Pierre-Antoine Rouby
;;
;; Author: Pierre-Antoine Rouby <contact@parouby.fr>
;; Keywords: lisp
;;
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; Personnal GNUEmacs configuration.
;;; Code:
(load-file "~/.emacs.d/matrix/matrix.eln")

31
src/init/35_theme.el Normal file
View File

@ -0,0 +1,31 @@
;;; 35_theme.el --- Init GNUEmacs configuration. -*- lexical-binding: t; -*-
;;
;; Copyright (C) 2024 Pierre-Antoine Rouby
;;
;; Author: Pierre-Antoine Rouby <contact@parouby.fr>
;; Keywords: lisp
;;
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; Personnal GNUEmacs configuration.
;;; Code:
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
(if (display-graphic-p)
(load-theme 'deep-nebula t)
(load-theme 'tango-dark t))