Commit ce4a662a authored by Philipp Huebner's avatar Philipp Huebner

fix debian/rules

parent d21db39c
......@@ -21,15 +21,8 @@ override_dh_auto_configure:
override_dh_auto_install:
dh_install priv/bin/* /usr/lib/erlang/bin/
dh_auto_install
for file in include/*.hrl priv/lib/*.so ; do \
fname=$$(basename $${file}) ; \
subdir=$$(dirname $${file}) ; \
if [ ! -f $(DESTDIR)/usr/lib/erlang/lib/p1_pam-$(DEB_VERSION_UPSTREAM)/$${subdir}/$${fname} ] ; then \
install -m 755 -d $(DESTDIR)/usr/lib/erlang/lib/p1_pam-$(DEB_VERSION_UPSTREAM)/$${subdir} ; \
install -m 644 $${file} $(DESTDIR)/usr/lib/erlang/lib/p1_pam-$(DEB_VERSION_UPSTREAM)/$${subdir} ; \
fi ; \
done
override_dh_auto_clean:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment