Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.venv/
docs/build/
docs/build/

# MAKEFILE INTERMEDIATE FILES
docs/source/opkg/source_files/*.tar.gz
34 changes: 26 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,47 @@
.DEFAULT_GOAL := all

# DIRECTORIES
srcdir := src
# /DIRECTORIES
srcdir = docs/source


# BINARIES
export MAKE ?= make
export PYTHON ?= python3
export SPHINXBUILD = $(PYTHON) -m sphinx
# /BINARIES
export TAR ?= tar

# ==============================================================================
# REAL TARGETS
# ==============================================================================

opkg_intro_IPK = $(srcdir)/opkg/source_files/opkg_intro.tar.gz
$(opkg_intro_IPK) : $(shell find $(srcdir)/opkg/source_files/opkg_intro/ -type f)
$(TAR) -czf $@ -C $(srcdir)/opkg/source_files/opkg_intro/ .


dkms_opkg_IPK = $(srcdir)/opkg/source_files/dkms_opkg.tar.gz
$(dkms_opkg_IPK) : $(shell find $(srcdir)/opkg/source_files/dkms_opkg/ -type f)
$(TAR) -czf $@ -C $(srcdir)/opkg/source_files/dkms_opkg/ .



OBJ = \
$(opkg_intro_IPK) \
$(dkms_opkg_IPK)

# REAL TARGETS #
################


# PHONY TARGETS #
#################
# ==============================================================================
# PHONY TARGETS
# ==============================================================================

all :
all : $(OBJ)
$(MAKE) -C docs html
.PHONY : all


clean :
rm -rf $(OBJ)
$(MAKE) -C docs clean
.PHONY : clean

Expand Down
410 changes: 151 additions & 259 deletions docs/source/opkg/dkms_opkg.rst

Large diffs are not rendered by default.

Loading
Loading