opr: Install the queue.h header
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 6 Apr 2012 22:54:10 +0000 (23:54 +0100)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 10 Apr 2012 16:29:47 +0000 (09:29 -0700)
The opr queue definition is required by a structure in the installed
cellconfig.h header. So that header can still be used by out-of-tree
applications, install the queue.h header too.

Change-Id: Ifaf49d59df24275ff50c215de6a0f40fc2bd2230
Reviewed-on: http://gerrit.openafs.org/7069
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>

src/opr/Makefile.in

index a2027e5..9827b6e 100644 (file)
@@ -40,9 +40,14 @@ clean:
 
 install: libopr.a
        $(INSTALL_DATA) libopr.a $(DESTDIR)$(libdir)/libopr.a
+       $(INSTALL) -d $(DESTDIR)$(includedir)/opr
+       $(INSTALL_DATA) queue.h $(DESTDIR)$(includedir)/opr/queue.h
 
 dest: libopr.a
        $(INSTALL_DATA) libopr.a $(DEST)/lib/libopr.a
+       $(INSTALL) -d $(DEST)/include/opr
+       $(INSTALL_DATA) queue.h $(DEST)/include/opr/queue.h
+
 
 buildtools: $(HEADERS) $(TOP_LIBDIR)/libopr.a