Install Panel.h in Desktop/Panel.h

This commit is contained in:
Pierre Pronchery 2011-01-28 20:38:52 +00:00
parent 1cc9402742
commit e1efdef53d
4 changed files with 12 additions and 9 deletions

View File

@ -85,7 +85,7 @@ dist:
$(PACKAGE)-$(VERSION)/project.conf
$(RM) -- $(PACKAGE)-$(VERSION)
install: all
install:
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) install) || exit; done
uninstall:

View File

@ -13,11 +13,11 @@ clean:
distclean: clean
install: all
$(MKDIR) $(DESTDIR)$(INCLUDEDIR)
$(INSTALL) -m 0644 -- Panel.h $(DESTDIR)$(INCLUDEDIR)/Panel.h
install:
$(MKDIR) $(DESTDIR)$(PREFIX)/include/Desktop
$(INSTALL) -m 0644 -- Panel.h $(DESTDIR)$(PREFIX)/include/Desktop/Panel.h
uninstall:
$(RM) -- $(DESTDIR)$(INCLUDEDIR)/Panel.h
$(RM) -- $(DESTDIR)$(PREFIX)/include/Desktop/Panel.h
.PHONY: all clean distclean install uninstall

View File

@ -1,5 +1,5 @@
/* $Id$ */
/* Copyright (c) 2010 Pierre Pronchery <khorben@defora.org> */
/* Copyright (c) 2011 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Desktop Panel */
/* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -15,8 +15,8 @@
#ifndef PANEL_PANEL_H
# define PANEL_PANEL_H
#ifndef DESKTOP_PANEL_H
# define DESKTOP_PANEL_H
# include <gtk/gtk.h>
@ -66,4 +66,4 @@ struct _PanelApplet
void * priv;
};
#endif /* !PANEL_PANEL_H */
#endif /* !DESKTOP_PANEL_H */

View File

@ -1,2 +1,5 @@
includes=Panel.h
dist=Makefile
[Panel.h]
install=$(PREFIX)/include/Desktop