From 9e05689406c83ae3020ca32a6ec6387466209138 Mon Sep 17 00:00:00 2001 From: Christian Eppler Date: Mon, 13 May 2013 16:22:27 +0200 Subject: Implement Kconfig build system Signed-off-by: Christian Eppler --- linux-basics/Kconfig | 19 +++++++++++++++++++ linux-basics/Makefile | 6 ------ linux-basics/boot-process-basics/Kconfig | 5 +++++ linux-basics/boot-process-basics/Makefile | 10 +--------- linux-basics/boot-process/Kconfig | 5 +++++ linux-basics/boot-process/Makefile | 11 ++--------- linux-basics/filesystem-structure/Kconfig | 5 +++++ linux-basics/filesystem-structure/Makefile | 11 ++--------- linux-basics/filesystems/Kconfig | 5 +++++ linux-basics/filesystems/Makefile | 11 ++--------- linux-basics/fromscratch_vs_debian/Kconfig | 5 +++++ linux-basics/fromscratch_vs_debian/Makefile | 10 +--------- linux-basics/important-tools/Kconfig | 5 +++++ linux-basics/important-tools/Makefile | 10 +--------- linux-basics/licenses/Kconfig | 5 +++++ linux-basics/licenses/Makefile | 10 +--------- linux-basics/linux-processes/Kconfig | 5 +++++ linux-basics/linux-processes/Makefile | 10 +--------- linux-basics/networking/Kconfig | 5 +++++ linux-basics/networking/Makefile | 10 +--------- linux-basics/package-management/Kconfig | 5 +++++ linux-basics/package-management/Makefile | 10 +--------- linux-basics/sh-programming/Kconfig | 5 +++++ linux-basics/sh-programming/Makefile | 11 ++--------- linux-basics/udev-basics/Kconfig | 5 +++++ linux-basics/udev-basics/Makefile | 10 +--------- linux-basics/what-is-linux/Kconfig | 5 +++++ linux-basics/what-is-linux/Makefile | 11 ++--------- linux-basics/xorg-basics/Kconfig | 5 +++++ linux-basics/xorg-basics/Makefile | 10 +--------- 30 files changed, 108 insertions(+), 132 deletions(-) create mode 100644 linux-basics/Kconfig delete mode 100644 linux-basics/Makefile create mode 100644 linux-basics/boot-process-basics/Kconfig create mode 100644 linux-basics/boot-process/Kconfig create mode 100644 linux-basics/filesystem-structure/Kconfig create mode 100644 linux-basics/filesystems/Kconfig create mode 100644 linux-basics/fromscratch_vs_debian/Kconfig create mode 100644 linux-basics/important-tools/Kconfig create mode 100644 linux-basics/licenses/Kconfig create mode 100644 linux-basics/linux-processes/Kconfig create mode 100644 linux-basics/networking/Kconfig create mode 100644 linux-basics/package-management/Kconfig create mode 100644 linux-basics/sh-programming/Kconfig create mode 100644 linux-basics/udev-basics/Kconfig create mode 100644 linux-basics/what-is-linux/Kconfig create mode 100644 linux-basics/xorg-basics/Kconfig (limited to 'linux-basics') diff --git a/linux-basics/Kconfig b/linux-basics/Kconfig new file mode 100644 index 0000000..b45048a --- /dev/null +++ b/linux-basics/Kconfig @@ -0,0 +1,19 @@ +menuconfig LINUX_BASICS + bool "Linux basics" + +if LINUX_BASICS + source "linux-basics/boot-process-basics/Kconfig" + source "linux-basics/boot-process/Kconfig" + source "linux-basics/filesystem-structure/Kconfig" + source "linux-basics/filesystems/Kconfig" + source "linux-basics/fromscratch_vs_debian/Kconfig" + source "linux-basics/important-tools/Kconfig" + source "linux-basics/licenses/Kconfig" + source "linux-basics/linux-processes/Kconfig" + source "linux-basics/networking/Kconfig" + source "linux-basics/package-management/Kconfig" + source "linux-basics/sh-programming/Kconfig" + source "linux-basics/udev-basics/Kconfig" + source "linux-basics/what-is-linux/Kconfig" + source "linux-basics/xorg-basics/Kconfig" +endif diff --git a/linux-basics/Makefile b/linux-basics/Makefile deleted file mode 100644 index 0a202ea..0000000 --- a/linux-basics/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -SUBDIRS = `ls -1 | grep -v *.tex | grep -v Makefile | grep -v TODO` - -all clean:: - for dir in $(SUBDIRS) ; do \ - (cd $$dir && make $@); \ - done diff --git a/linux-basics/boot-process-basics/Kconfig b/linux-basics/boot-process-basics/Kconfig new file mode 100644 index 0000000..aeada8a --- /dev/null +++ b/linux-basics/boot-process-basics/Kconfig @@ -0,0 +1,5 @@ +config LINUX_BOOT_PROCESS_BASIC + bool "Linux boot process basic papers" + default y + help + Papers about Linux boot process basics diff --git a/linux-basics/boot-process-basics/Makefile b/linux-basics/boot-process-basics/Makefile index d641258..e313285 100644 --- a/linux-basics/boot-process-basics/Makefile +++ b/linux-basics/boot-process-basics/Makefile @@ -1,9 +1 @@ -all: - for pdf in `ls -1 *.tex` ; do \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - done - -clean: - rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out - +obj-$(CONFIG_LINUX_BOOT_PROCESS_BASIC) += pres_boot-process-basics_de.pdf diff --git a/linux-basics/boot-process/Kconfig b/linux-basics/boot-process/Kconfig new file mode 100644 index 0000000..8846db2 --- /dev/null +++ b/linux-basics/boot-process/Kconfig @@ -0,0 +1,5 @@ +config LINUX_BOOT_PROCESS + bool "boot process papers" + default y + help + Papers about boot process diff --git a/linux-basics/boot-process/Makefile b/linux-basics/boot-process/Makefile index d641258..3e6e7f6 100644 --- a/linux-basics/boot-process/Makefile +++ b/linux-basics/boot-process/Makefile @@ -1,9 +1,2 @@ -all: - for pdf in `ls -1 *.tex` ; do \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - done - -clean: - rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out - +obj-$(CONFIG_LINUX_BOOT_PROCESS) += hints_boot-process_de.pdf pres_boot-process_de.pdf +obj-handout-$(CONFIG_LINUX_BOOT_PROCESS) +=handout_boot-process_de.pdf diff --git a/linux-basics/filesystem-structure/Kconfig b/linux-basics/filesystem-structure/Kconfig new file mode 100644 index 0000000..0615ee0 --- /dev/null +++ b/linux-basics/filesystem-structure/Kconfig @@ -0,0 +1,5 @@ +config LINUX_FILESYSTEM_STRUC + bool "Linux filesystem structure papers" + default y + help + Papers about Linux filesystem structure diff --git a/linux-basics/filesystem-structure/Makefile b/linux-basics/filesystem-structure/Makefile index d641258..12564f5 100644 --- a/linux-basics/filesystem-structure/Makefile +++ b/linux-basics/filesystem-structure/Makefile @@ -1,9 +1,2 @@ -all: - for pdf in `ls -1 *.tex` ; do \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - done - -clean: - rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out - +obj-$(CONFIG_LINUX_FILESYSTEM_STRUC) += hints_file-system-structure_de.pdf pres_file-system-structure_de.pdf +obj-handout-$(CONFIG_LINUX_FILESYSTEM_STRUC) += handout_file-system-structure_de.pdf diff --git a/linux-basics/filesystems/Kconfig b/linux-basics/filesystems/Kconfig new file mode 100644 index 0000000..69a9fd6 --- /dev/null +++ b/linux-basics/filesystems/Kconfig @@ -0,0 +1,5 @@ +config LINUX_FILESYSTEMS + bool "Linux filesystem papers" + default y + help + Papers about Linux filesystems diff --git a/linux-basics/filesystems/Makefile b/linux-basics/filesystems/Makefile index d641258..a5135f6 100644 --- a/linux-basics/filesystems/Makefile +++ b/linux-basics/filesystems/Makefile @@ -1,9 +1,2 @@ -all: - for pdf in `ls -1 *.tex` ; do \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - done - -clean: - rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out - +obj-$(CONFIG_LINUX_FILESYSTEMS) += pres_filesystems_en.pdf +obj-handout-$(CONFIG_LINUX_FILESYSTEMS) += handout_filesystems_en.pdf diff --git a/linux-basics/fromscratch_vs_debian/Kconfig b/linux-basics/fromscratch_vs_debian/Kconfig new file mode 100644 index 0000000..58fc189 --- /dev/null +++ b/linux-basics/fromscratch_vs_debian/Kconfig @@ -0,0 +1,5 @@ +config LINUX_FROM_SCRATCH + bool "Linux from scratch papers" + default y + help + Papers about Linux from scratch diff --git a/linux-basics/fromscratch_vs_debian/Makefile b/linux-basics/fromscratch_vs_debian/Makefile index d641258..5c095d7 100644 --- a/linux-basics/fromscratch_vs_debian/Makefile +++ b/linux-basics/fromscratch_vs_debian/Makefile @@ -1,9 +1 @@ -all: - for pdf in `ls -1 *.tex` ; do \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - done - -clean: - rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out - +obj-$(CONFIG_LINUX_FROM_SCRATCH) += pres_fromscatch_vs_debian_en.pdf diff --git a/linux-basics/important-tools/Kconfig b/linux-basics/important-tools/Kconfig new file mode 100644 index 0000000..cb0632c --- /dev/null +++ b/linux-basics/important-tools/Kconfig @@ -0,0 +1,5 @@ +config LINUX_IMPORTANT_TOOLS + bool "Linux important tools papers" + default y + help + Papers about important Linux tools diff --git a/linux-basics/important-tools/Makefile b/linux-basics/important-tools/Makefile index d641258..2d74214 100644 --- a/linux-basics/important-tools/Makefile +++ b/linux-basics/important-tools/Makefile @@ -1,9 +1 @@ -all: - for pdf in `ls -1 *.tex` ; do \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - done - -clean: - rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out - +obj-$(CONFIG_LINUX_IMPORTANT_TOOLS) += pres_important_tools_de.pdf diff --git a/linux-basics/licenses/Kconfig b/linux-basics/licenses/Kconfig new file mode 100644 index 0000000..548c753 --- /dev/null +++ b/linux-basics/licenses/Kconfig @@ -0,0 +1,5 @@ +config LINUX_LICENSES + bool "Linux licenses papers" + default y + help + Paper about licenses diff --git a/linux-basics/licenses/Makefile b/linux-basics/licenses/Makefile index d641258..44bdf55 100644 --- a/linux-basics/licenses/Makefile +++ b/linux-basics/licenses/Makefile @@ -1,9 +1 @@ -all: - for pdf in `ls -1 *.tex` ; do \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - done - -clean: - rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out - +obj-$(CONFIG_LINUX_LICENSES) += pres_licenses_en.pdf diff --git a/linux-basics/linux-processes/Kconfig b/linux-basics/linux-processes/Kconfig new file mode 100644 index 0000000..827bd58 --- /dev/null +++ b/linux-basics/linux-processes/Kconfig @@ -0,0 +1,5 @@ +config LINUX_PROCESSES + bool "Linux processes papers" + default y + help + Papers about Linux processes diff --git a/linux-basics/linux-processes/Makefile b/linux-basics/linux-processes/Makefile index d641258..099ac9d 100644 --- a/linux-basics/linux-processes/Makefile +++ b/linux-basics/linux-processes/Makefile @@ -1,9 +1 @@ -all: - for pdf in `ls -1 *.tex` ; do \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - done - -clean: - rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out - +obj-$(CONFIG_LINUX_PROCESSES) += hints_linux-processes_de.pdf pres_linux-processes_en.pdf diff --git a/linux-basics/networking/Kconfig b/linux-basics/networking/Kconfig new file mode 100644 index 0000000..0d951cb --- /dev/null +++ b/linux-basics/networking/Kconfig @@ -0,0 +1,5 @@ +config LINUX_NETWORKING + bool "Linux networking papers" + default y + help + Papers about Linux networking diff --git a/linux-basics/networking/Makefile b/linux-basics/networking/Makefile index d641258..f8f2d40 100644 --- a/linux-basics/networking/Makefile +++ b/linux-basics/networking/Makefile @@ -1,9 +1 @@ -all: - for pdf in `ls -1 *.tex` ; do \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - done - -clean: - rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out - +obj-$(CONFIG_LINUX_NETWORKING) += pres_networking_en.pdf diff --git a/linux-basics/package-management/Kconfig b/linux-basics/package-management/Kconfig new file mode 100644 index 0000000..2e641ad --- /dev/null +++ b/linux-basics/package-management/Kconfig @@ -0,0 +1,5 @@ +config LINUX_PACKAGE_MANAGMENT + bool "Linux package managment papers" + default y + help + Papers about Linux package managment diff --git a/linux-basics/package-management/Makefile b/linux-basics/package-management/Makefile index d641258..3804d65 100644 --- a/linux-basics/package-management/Makefile +++ b/linux-basics/package-management/Makefile @@ -1,9 +1 @@ -all: - for pdf in `ls -1 *.tex` ; do \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - done - -clean: - rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out - +obj-$(CONFIG_LINUX_PACKAGE_MANAGMENT) += pres_packaging_en.pdf diff --git a/linux-basics/sh-programming/Kconfig b/linux-basics/sh-programming/Kconfig new file mode 100644 index 0000000..820bea3 --- /dev/null +++ b/linux-basics/sh-programming/Kconfig @@ -0,0 +1,5 @@ +config LINUX_SHELL + bool "Linux shell programming papers" + default y + help + Papers about shell programming diff --git a/linux-basics/sh-programming/Makefile b/linux-basics/sh-programming/Makefile index d641258..697f309 100644 --- a/linux-basics/sh-programming/Makefile +++ b/linux-basics/sh-programming/Makefile @@ -1,9 +1,2 @@ -all: - for pdf in `ls -1 *.tex` ; do \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - done - -clean: - rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out - +obj-$(CONFIG_LINUX_SHELL) += hints_sh-programming_de.pdf pres_sh-programming_de.pdf +obj-handout-$(CONFIG_LINUX_SHELL) += handout_sh-programming_de.pdf diff --git a/linux-basics/udev-basics/Kconfig b/linux-basics/udev-basics/Kconfig new file mode 100644 index 0000000..051acde --- /dev/null +++ b/linux-basics/udev-basics/Kconfig @@ -0,0 +1,5 @@ +config LINUX_UDEV + bool "Linuy UDEV papers" + default y + help + Papers about Linux UDEV diff --git a/linux-basics/udev-basics/Makefile b/linux-basics/udev-basics/Makefile index d641258..628a34b 100644 --- a/linux-basics/udev-basics/Makefile +++ b/linux-basics/udev-basics/Makefile @@ -1,9 +1 @@ -all: - for pdf in `ls -1 *.tex` ; do \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - done - -clean: - rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out - +obj-$(CONFIG_LINUX_UDEV) += pres_udev_en.pdf diff --git a/linux-basics/what-is-linux/Kconfig b/linux-basics/what-is-linux/Kconfig new file mode 100644 index 0000000..6a4c742 --- /dev/null +++ b/linux-basics/what-is-linux/Kconfig @@ -0,0 +1,5 @@ +config LINUX_LINUX + bool "What is Linux papers" + default y + help + Papers about the question: What is Linux? diff --git a/linux-basics/what-is-linux/Makefile b/linux-basics/what-is-linux/Makefile index d641258..3e4d2d3 100644 --- a/linux-basics/what-is-linux/Makefile +++ b/linux-basics/what-is-linux/Makefile @@ -1,9 +1,2 @@ -all: - for pdf in `ls -1 *.tex` ; do \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - done - -clean: - rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out - +obj-$(CONFIG_LINUX_LINUX) += hints_what-is-linux_de.pdf pres_what-is-linux_de.pdf +obj-handout-$(CONFIG_LINUX_LINUX) += handout_what-is-linux_de.pdf diff --git a/linux-basics/xorg-basics/Kconfig b/linux-basics/xorg-basics/Kconfig new file mode 100644 index 0000000..698da33 --- /dev/null +++ b/linux-basics/xorg-basics/Kconfig @@ -0,0 +1,5 @@ +config LINUX_XORG + bool "Linux xorg papers" + default y + help + Papers about xorg diff --git a/linux-basics/xorg-basics/Makefile b/linux-basics/xorg-basics/Makefile index d641258..b67fe6c 100644 --- a/linux-basics/xorg-basics/Makefile +++ b/linux-basics/xorg-basics/Makefile @@ -1,9 +1 @@ -all: - for pdf in `ls -1 *.tex` ; do \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - TEXINPUTS=`pwd`/../..:.:..:$(TEXINPUTS) pdflatex $$pdf; \ - done - -clean: - rm -f *.aux *.log *.pdf *.log *.snm *.toc *.vrb *.nav *.out - +obj-$(CONFIG_LINUX_XORG) += pres_xorg_en.pdf -- cgit v1.2.3