Commit graph

36 commits

Author SHA1 Message Date
Serhii Yeremenko
efbba7edaa
Allow to pass --reflink=auto to cp command in Makefile
Use `make CP_OPTS='--reflink=auto' install` to speed up file coping on
file systems with Copy-on-Write support
2023-10-28 12:04:30 +03:00
Sergei Eremenko
5183e15de4
BREAKING CHANGE: Rename IGNORE= to EXCLUDE=
Changed the variable name to exclude icon themes from installing.

Was:
    make IGNORE="ePapirus ePapirus-Dark" install

Becomes:
    make EXCLUDE="ePapirus ePapirus-Dark" install
2023-10-25 13:38:49 +03:00
Sergei Eremenko
1e76dbab98
Remove './' prefix from paths to icon themes 2023-10-25 13:02:06 +03:00
Sergei Eremenko
96d7915dcc
Add test for searching unoptimized icons 2021-08-24 21:33:30 +03:00
Sergei Eremenko
52075e2213 Remove accidentally added space #2795 2021-08-22 21:22:45 +03:00
Hunter Wittenborn
e7f730bbfa Fixed installation issue when target directory contained spaces
Likewise fixed the same issue when uninstalling.

The issue was rooted in the fact that "DESTDIR" and "PREFIX" weren't 
quoted, which caused the 'mkdir', 'cp' and 'rm' commands to treat any 
spaces in directory names as separate arguments.
2021-08-22 21:20:06 +03:00
Sergei Eremenko
d0308c087b Add make clean_themes task to remove untracked files from icon themes 2019-08-02 21:16:23 +03:00
Sergei Eremenko
d46855ed87 Improve test_filenames task 2019-04-13 09:19:19 +03:00
Sergei Eremenko
db243f79d4 Add tests to Makefile
The tests require the following commands:

 * GNU grep
 * GNU findutils
 * xmlstarlet (for make test-all only)

NOTE: `make test` may return a non-zero exit code.
2018-11-13 18:25:26 +02:00
Sergei Eremenko
86414aa09a Makefile: rename THEMES var to ICON_THEMES to avoid conflicts w/ env vars
* List of icon themes replaced to wildcard searching
* Fixes error message for BSD make
2018-11-13 18:11:04 +02:00
Sergei Eremenko
b4988bd574 Remove Papirus-Adapta{,-Nokto} from scripts #1499 2018-10-08 13:57:20 +03:00
nick87720z
e9e6d53842
fix situation, when THEMES is set, but empty
With ?=, if you run THEMES= make install, empty value is treated as specified and still replaced, making wrong arguments
2018-02-22 20:18:14 +05:00
Sergei Eremenko
149be00bf3 Move dev specific tasks to the separated Makefile 2017-09-27 19:57:23 +03:00
Sergei Eremenko
088ba3baa8 Add a message for BSD users 2017-09-25 21:13:52 +03:00
Sergei Eremenko
edbb590add Update Makefile (see commit description)
* Now can change the list of themes that will be installed:

  Install only Papirus and Papirus-Dark:
  `make THEMES="Papirus Papirus-Dark" install`

  Install all except ePapirus and Papirus-Light
  `make IGNORE="ePapirus Papirus-Light" install`

* Deleted `make post-install`. Icon caches now building with
  `make install` if DESTDIR is not set
* Added `make dist`
* Added .gitattributes. It excludes tools from releases
2017-09-24 16:49:58 +03:00
varlesh
6fa37d3bf2 Papirus-Adapta-Nokto version 2017-09-20 00:38:24 +04:00
varlesh
1935b002d2 Papirus-Adapta version, update Makefile + install/remove scripts #705 2017-09-16 20:52:46 +04:00
Sergei Eremenko
b0fd715982 Fix make install target for BSD systems #649
cp -r copy symlinks as normal files on BSD systems
2017-08-20 09:20:33 +03:00
Sergei Eremenko
1679c51a5b Add compatibility with BSD systems for Makefile #649
Usage:
 * Install:
    make PREFIX=/usr/local install post-install

 * Update:
    make PREFIX=/usr/local uninstall install post-install

 * Uninstall:
    make PREFIX=/usr/local uninstall
2017-08-20 02:16:03 +03:00
Sergei Eremenko
b8c019673f Update tools
Make tests:
 * Don't return an error if no match is found

ffsvg.sh:
 * Don't use eval
2017-08-03 23:47:06 +03:00
Sergei Eremenko
d71d5cd560 Update tools
* Stripping XML tag
 * Sorting attributes
 * Extra tests
2017-07-26 00:19:08 +03:00
Sergei Eremenko
acfdf6b74e Update AUTHORS 2017-05-10 16:35:52 +03:00
Sergei Eremenko
fd52c0a2fa Update the guide 2017-02-26 00:22:08 +02:00
Sergei Eremenko
1b4ad7cbf8 Change versioning scheme 2017-01-18 20:24:23 +02:00
Sergei Eremenko
aa385b6525 Prepare to PPA 2017-01-15 14:46:42 +02:00
Sergei Eremenko
d1b4571f61 Change make _get_version to get version from HEAD 2017-01-12 23:55:36 +02:00
Sergei Eremenko
d3b0a5ce9c make _get_version now return value
Example for PKGBUILD:
 pkgver() {
    make --no-print-directory -C "${srcdir}/${pkgname}" _get_version
 }
2017-01-12 11:59:44 +02:00
Sergei Eremenko
78170ae945 Add post-install target to Makefile 2017-01-12 11:34:03 +02:00
Sergei Eremenko
424cec4b43 Remove gtk-update-icon-cache from Makefile
Please add gtk-update-icon-cache to post-install scripts of your package.
2017-01-11 19:11:37 +02:00
Sergei Eremenko
fe9f14dbcb Fix Makefile 2017-01-11 18:49:01 +02:00
Sergei Eremenko
6f4d56c73d Add Makefile 2017-01-10 14:47:39 +02:00
varlesh
2eeeb73f28 fix template 2016-11-28 06:58:31 +03:00
Tomasz Przybył
b8921b26d1 Makefile: delete Arc-Dark
Against https://github.com/PapirusDevelopmentTeam/papirus-icon-theme-gtk/issues/18
2016-08-07 14:28:38 +02:00
varlesh
63309fa776 Update Makefile 2016-06-12 18:36:11 +03:00
Tomasz Przybył
4b57af4a41 Makefile: improvements 2016-06-03 16:39:14 +02:00
FadeMind
7516610b77
merge: papirus-suite 2016-06-01 18:32:01 +02:00