Skip to content

Commit

Permalink
Install timepps.h in location specified by RFC 2783.
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-s-raymond authored and ago committed Apr 7, 2012
1 parent 9a8f4c3 commit dc78a6a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -20,11 +20,11 @@ endif

install : all
install -m 755 -t $(DESTDIR)/usr/bin ppsfind $(TARGETS)
install -m 644 -t $(DESTDIR)/usr/include timepps.h
install -m 644 -t $(DESTDIR)/usr/include/sys timepps.h

uninstall :
for f in $(TARGETS); do rm $(DESTDIR)/usr/bin/$$f; done
rm $(DESTDIR)/usr/include/timepps.h
rm $(DESTDIR)/usr/include/sys/timepps.h

# -- Clean section --

Expand Down
2 changes: 1 addition & 1 deletion ppsctl.c
Expand Up @@ -25,7 +25,7 @@
#include <sys/stat.h>
#include <getopt.h>

#include <timepps.h>
#include <sys/timepps.h>

/* variables for the command-line operations
* 0 means no operation
Expand Down
2 changes: 1 addition & 1 deletion ppstest.c
Expand Up @@ -21,7 +21,7 @@
#include <sys/types.h>
#include <sys/stat.h>

#include <timepps.h>
#include <sys/timepps.h>

int find_source(char *path, pps_handle_t *handle, int *avail_mode)
{
Expand Down
2 changes: 1 addition & 1 deletion ppswatch.c
Expand Up @@ -23,7 +23,7 @@
#include <getopt.h>
#include <signal.h>

#include <timepps.h>
#include <sys/timepps.h>

/* variables for the command-line parameters */
static char *device;
Expand Down
1 change: 1 addition & 0 deletions sys/timepps.h

0 comments on commit dc78a6a

Please sign in to comment.