]> arthur.barton.de Git - netatalk.git/blobdiff - etc/uams/Makefile.am
Try using Tracker 0.15 from OpenCSW
[netatalk.git] / etc / uams / Makefile.am
index 687228e6232cbc9484b66ed17a7dae4f7f4f80b9..3a02b8359770be9f64fdd0b2cf560fa7831817f4 100644 (file)
@@ -1,7 +1,5 @@
 # Makefile.am for etc/uams/
 
-SUBDIRS = uams_krb4
-
 #
 # conditionally build some modules
 #
@@ -128,17 +126,19 @@ uams_LTLIBRARIES =                \
 # link creation
 #
 
-install-exec-hook:
-       (cd $(DESTDIR)$(uamsdir)                                        && \
+install-data-hook:
+       (if [ -d $(DESTDIR)$(uamsdir) ] ; then \
+               cd $(DESTDIR)$(uamsdir)                                 && \
                rm -f $(uams_LINKS)                                     && \
                $(LN_S) $(UAMS_CLRTXT_LINK) uams_clrtxt.so              && \
-               $(dhx_exec_hook)                                        && \
-               $(dhx2_exec_hook)                                       \
-       )
+               $(dhx_exec_hook)                                                && \
+               $(dhx2_exec_hook) ;                                     \
+       fi)
 
 
 
 uninstall-hook:
-       (cd $(DESTDIR)$(uamsdir)                                        && \
-               rm -f $(uams_LINKS)                                     \
-       )
+       (if [ -d $(DESTDIR)$(uamsdir) ] ; then \
+               cd $(DESTDIR)$(uamsdir)                 && \
+               rm -f $(uams_LINKS)     ;                       \
+       fi)