Lines 5-15
Link Here
|
5 |
install-data-local: |
5 |
install-data-local: |
6 |
$(mkinstalldirs) $(libdir)/zhcon/ |
6 |
$(mkinstalldirs) $(libdir)/zhcon/ |
7 |
- $(INSTALL_DATA) $(srcdir)/zhcon.conf /etc/zhcon.conf |
7 |
- $(INSTALL_DATA) $(srcdir)/zhcon.conf /etc/zhcon.conf |
8 |
+ $(INSTALL_DATA) $(srcdir)/zhcon.conf $(PREFIX)/etc/zhcon.conf.sample |
8 |
+ $(INSTALL_DATA) $(srcdir)/zhcon.conf $(PREFIX)/etc/zhcon.conf |
9 |
|
9 |
|
10 |
uninstall-local: |
10 |
uninstall-local: |
11 |
- -rm -f /etc/zhcon.conf |
11 |
- -rm -f /etc/zhcon.conf |
12 |
+ -rm -f $(PREFIX)/etc/zhcon.conf.sample |
12 |
+ -rm -f $(PREFIX)/etc/zhcon.conf |
13 |
|
13 |
|
14 |
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
14 |
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
15 |
# Otherwise a system limit (for SysV at least) may be exceeded. |
15 |
# Otherwise a system limit (for SysV at least) may be exceeded. |