diff options
-rw-r--r-- | openbsc/doc/examples/Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/doc/examples/Makefile.am b/openbsc/doc/examples/Makefile.am index b7eda49d6..8f14fdcf7 100644 --- a/openbsc/doc/examples/Makefile.am +++ b/openbsc/doc/examples/Makefile.am @@ -14,3 +14,10 @@ install-data-hook: mkdir -p "$$(dirname $$j)" && \ $(INSTALL_DATA) $(srcdir)/$$f $$j; \ done + +uninstall-hook: + @$(PRE_UNINSTALL) + for f in $$($(CFG_FILES)); do \ + j="$(DESTDIR)$(docdir)/examples/$$f" && \ + $(RM) $$j; \ + done |