diff options
-rw-r--r-- | .github/workflows/build.yml | 2 | ||||
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | etc/CHANGELOG.md (renamed from CHANGELOG.md) | 0 | ||||
-rw-r--r-- | etc/CONTRIBUTING.md (renamed from CONTRIBUTING.md) | 4 | ||||
-rwxr-xr-x | etc/examples/image-info (renamed from examples/image-info) | 0 | ||||
-rwxr-xr-x | etc/examples/key-handler (renamed from examples/key-handler) | 0 | ||||
-rwxr-xr-x | etc/examples/thumb-info (renamed from examples/thumb-info) | 0 | ||||
-rwxr-xr-x | etc/examples/win-title (renamed from examples/win-title) | 0 | ||||
-rw-r--r-- | etc/nsxiv.1 (renamed from nsxiv.1) | 0 | ||||
-rw-r--r-- | etc/nsxiv.desktop (renamed from nsxiv.desktop) | 0 | ||||
-rw-r--r-- | etc/woodpecker/CFLAGS (renamed from .woodpecker/CFLAGS) | 0 | ||||
-rw-r--r-- | etc/woodpecker/analysis.yml (renamed from .woodpecker/analysis.yml) | 2 | ||||
-rw-r--r-- | etc/woodpecker/build.yml (renamed from .woodpecker/build.yml) | 2 | ||||
-rw-r--r-- | etc/woodpecker/clang-tidy-checks (renamed from .woodpecker/clang-tidy-checks) | 0 | ||||
-rw-r--r-- | etc/woodpecker/spell.yml (renamed from .woodpecker/spell.yml) | 0 |
16 files changed, 13 insertions, 13 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c9269de..cfa9e1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: ( cd "tinycc-$TCC_SHA" && ./configure && make && sudo make install; ) - name: build run: | - CFLAGS="$(sed '/^#/d' .woodpecker/CFLAGS | paste -d ' ' -s)" + CFLAGS="$(sed '/^#/d' etc/woodpecker/CFLAGS | paste -d ' ' -s)" build () { for cc in "gcc" "clang" "tcc"; do echo "### $cc - $2 build ###" @@ -66,7 +66,7 @@ install-all: install install-desktop install-icon install-desktop: @echo "INSTALL nsxiv.desktop" mkdir -p $(DESTDIR)$(PREFIX)/share/applications - cp nsxiv.desktop $(DESTDIR)$(PREFIX)/share/applications + cp etc/nsxiv.desktop $(DESTDIR)$(PREFIX)/share/applications install-icon: @echo "INSTALL icon" @@ -91,12 +91,12 @@ install: all chmod 755 $(DESTDIR)$(PREFIX)/bin/nsxiv @echo "INSTALL nsxiv.1" mkdir -p $(DESTDIR)$(MANPREFIX)/man1 - sed "s!EGPREFIX!$(EGPREFIX)!g; s!PREFIX!$(PREFIX)!g; s!VERSION!$(VERSION)!g" nsxiv.1 \ - >$(DESTDIR)$(MANPREFIX)/man1/nsxiv.1 + sed "s!EGPREFIX!$(EGPREFIX)!g; s!PREFIX!$(PREFIX)!g; s!VERSION!$(VERSION)!g" \ + etc/nsxiv.1 >$(DESTDIR)$(MANPREFIX)/man1/nsxiv.1 chmod 644 $(DESTDIR)$(MANPREFIX)/man1/nsxiv.1 @echo "INSTALL share/nsxiv/" mkdir -p $(DESTDIR)$(EGPREFIX) - cp examples/* $(DESTDIR)$(EGPREFIX) + cp etc/examples/* $(DESTDIR)$(EGPREFIX) chmod 755 $(DESTDIR)$(EGPREFIX)/* uninstall: uninstall-icon @@ -15,10 +15,10 @@ under GPLv2 and aims to be easy to modify and customize. Please file a bug report if something does not work as documented or expected on [Codeberg] after making sure you are using the latest release. Contributions -are welcome, see [CONTRIBUTING.md] to get started. +are welcome, see [CONTRIBUTING] to get started. [Codeberg]: https://codeberg.org/nsxiv/nsxiv/issues/new -[CONTRIBUTING.md]: CONTRIBUTING.md#contribution-guideline +[CONTRIBUTING]: etc/CONTRIBUTING.md#contribution-guideline Features @@ -185,7 +185,7 @@ or by using Xresources as explained in the manual. If these options are not suff you may implement your own features by following [this guide](https://codeberg.org/nsxiv/nsxiv-extra/src/branch/master/CUSTOMIZATION.md). -Due to our limited [project scope](CONTRIBUTING.md#project-scope), certain features or +Due to our limited [project scope](etc/CONTRIBUTING.md#project-scope), certain features or customization cannot be merged into nsxiv mainline. Following the spirit of suckless software, we host the [nsxiv-extra](https://codeberg.org/nsxiv/nsxiv-extra) repo where users are free to submit whatever patches or scripts they wish. @@ -206,7 +206,7 @@ on CodeBerg or get a copy using git with the following command: $ git clone https://codeberg.org/nsxiv/nsxiv.git -You can view the changelog [here](CHANGELOG.md) +You can view the changelog [here](etc/CHANGELOG.md) Similar projects diff --git a/CHANGELOG.md b/etc/CHANGELOG.md index 100e24a..100e24a 100644 --- a/CHANGELOG.md +++ b/etc/CHANGELOG.md diff --git a/CONTRIBUTING.md b/etc/CONTRIBUTING.md index 93e0552..8d9680f 100644 --- a/CONTRIBUTING.md +++ b/etc/CONTRIBUTING.md @@ -23,7 +23,7 @@ Contribution Guideline When contributing, make sure: * Your contribution falls under nsxiv's scope and aim - * You follow the existing code style (see [.editorconfig](.editorconfig)) + * You follow the existing code style (see [.editorconfig](../.editorconfig)) * You open the pull request from a new branch, not from master * To avoid using force pushes, especially for bigger patches. Only use them when there's merge conflicts. @@ -68,7 +68,7 @@ For releases, the process is the following: the commit message and tag description for the release commit to "Release version N". Make sure to use an annotated tag. * Update `VERSION` macro in `config.mk`. - * Update the changelog (`CHANGELOG.md`): + * Update the changelog (`etc/CHANGELOG.md`): * Include link to the release tarball and add the release date. * Document only the changes or fixes between releases. Don't document changes which never made it into a release. diff --git a/examples/image-info b/etc/examples/image-info index 5f06123..5f06123 100755 --- a/examples/image-info +++ b/etc/examples/image-info diff --git a/examples/key-handler b/etc/examples/key-handler index 3fe741d..3fe741d 100755 --- a/examples/key-handler +++ b/etc/examples/key-handler diff --git a/examples/thumb-info b/etc/examples/thumb-info index b422f9c..b422f9c 100755 --- a/examples/thumb-info +++ b/etc/examples/thumb-info diff --git a/examples/win-title b/etc/examples/win-title index 31994ef..31994ef 100755 --- a/examples/win-title +++ b/etc/examples/win-title diff --git a/nsxiv.desktop b/etc/nsxiv.desktop index de90437..de90437 100644 --- a/nsxiv.desktop +++ b/etc/nsxiv.desktop diff --git a/.woodpecker/CFLAGS b/etc/woodpecker/CFLAGS index 57d7d16..57d7d16 100644 --- a/.woodpecker/CFLAGS +++ b/etc/woodpecker/CFLAGS diff --git a/.woodpecker/analysis.yml b/etc/woodpecker/analysis.yml index c6fa796..35cef7f 100644 --- a/.woodpecker/analysis.yml +++ b/etc/woodpecker/analysis.yml @@ -18,7 +18,7 @@ pipeline: *.c } run_tidy() { - checks="$(sed '/^#/d' .woodpecker/clang-tidy-checks | paste -d ',' -s)" + checks="$(sed '/^#/d' etc/woodpecker/clang-tidy-checks | paste -d ',' -s)" clang-tidy --warnings-as-errors="*" --checks="$checks" --quiet *.c \ -- -std="$std" $(make OPT_DEP_DEFAULT="$1" dump_cppflags) } diff --git a/.woodpecker/build.yml b/etc/woodpecker/build.yml index fdcf68c..603fa0e 100644 --- a/.woodpecker/build.yml +++ b/etc/woodpecker/build.yml @@ -14,7 +14,7 @@ pipeline: wget "https://github.com/TinyCC/tinycc/archive/$TCC_SHA.tar.gz" >/dev/null tar xzf "$TCC_SHA.tar.gz" >/dev/null ( cd "tinycc-$TCC_SHA" && ./configure --config-musl && make -s -j"$(nproc)" && make install; ) >/dev/null - CFLAGS="$(sed '/^#/d' .woodpecker/CFLAGS | paste -d ' ' -s)" + CFLAGS="$(sed '/^#/d' etc/woodpecker/CFLAGS | paste -d ' ' -s)" build () { for cc in "gcc" "clang" "tcc"; do echo "### $cc - $2 build ###" diff --git a/.woodpecker/clang-tidy-checks b/etc/woodpecker/clang-tidy-checks index 3c6c62e..3c6c62e 100644 --- a/.woodpecker/clang-tidy-checks +++ b/etc/woodpecker/clang-tidy-checks diff --git a/.woodpecker/spell.yml b/etc/woodpecker/spell.yml index a184092..a184092 100644 --- a/.woodpecker/spell.yml +++ b/etc/woodpecker/spell.yml |