Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Knot DNS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
22
Issues
22
List
Boards
Labels
Service Desk
Milestones
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knot projects
Knot DNS
Commits
17be4801
Commit
17be4801
authored
Sep 01, 2011
by
Ondřej Surý
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't overwrite already installed configuration file
parent
f38991c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
samples/Makefile.am
samples/Makefile.am
+6
-2
No files found.
samples/Makefile.am
View file @
17be4801
sysconf_DATA
=
knotd.conf example.com.zone
edit
=
sed
\
-e
's|@version[@]|
$(PACKAGE_VERSION)
|g'
\
-e
's|@package[@]|
$(PACKAGE_NAME)
|g'
\
...
...
@@ -16,5 +14,11 @@ knotd.conf: Makefile
knotd.conf
:
knotd.conf.in
install-data-local
:
knotd.conf
[
-d
$(sysconfdir)
]
||
\
$(INSTALL_DATA)
-d
$(sysconfdir)
[
-f
$(sysconfdir)
/knotd.conf
]
||
\
$(INSTALL_DATA)
knotd.conf example.com.zone
$(sysconfdir)
clean-local
:
rm
-f
knotd.conf
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment