Skip to content

Commit

Permalink
find a dos2unix
Browse files Browse the repository at this point in the history
  • Loading branch information
lausser committed Jul 8, 2015
1 parent b405591 commit 14847c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
## Process this file with automake to produce Makefile.in

SUBDIRS = plugins-scripts
DOS2UNIX=$(shell which dos2unix || which fromdos)

dist-hook:
if [ -f ../GLPlugin/lib/Monitoring/GLPlugin.pm ]; then cp -r ../GLPlugin/lib .; fi
rm -f t/var/tmp/*
rm -f t/var/adm/*
find $(distdir) -type f -exec fromdos -v {} \;
find $(distdir) -type f -exec $(DOS2UNIX) {} \;
make

0 comments on commit 14847c1

Please sign in to comment.