diff options
author | David King <amigadave@amigadave.com> | 2015-05-15 16:55:25 +0100 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2015-05-15 17:00:38 +0100 |
commit | 27fdae4153ce8b1f4fbd2304356f273fb3a3b9f9 (patch) | |
tree | b855cf44cc9612e7599d5b345cd34efc526b3afb /Makefile.am | |
parent | e72beada8aefebe96b17c74d5c0c438d897a433d (diff) | |
download | xdg-app-27fdae4153ce8b1f4fbd2304356f273fb3a3b9f9.tar.gz |
Add a simple profile.d snippet for XDG_DATA_DIRS
https://github.com/alexlarsson/xdg-app/issues/74
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 4c54f01..5b993a0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -146,3 +146,11 @@ endif completiondir = $(datadir)/bash-completion/completions completion_DATA = completion/xdg-app EXTRA_DIST += $(completion_DATA) + +profiledir = $(sysconfdir)/profile.d +profile_DATA = profile/xdg-app.sh +EXTRA_DIST += profile/xdg-app.sh.in + +profile/xdg-app.sh: profile/xdg-app.sh.in + $(AM_V_GEN) $(SED) -e "s|\@localstatedir\@|$(localstatedir)|" \ + -e "s|\@sysconfdir\@|$(sysconfdir)|" $< > $@ |