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 $(PACKAGE)-$(VERSION)/project.conf
$(RM) -- $(PACKAGE)-$(VERSION) $(RM) -- $(PACKAGE)-$(VERSION)
install: all install:
@for i in $(SUBDIRS); do (cd $$i && $(MAKE) install) || exit; done @for i in $(SUBDIRS); do (cd $$i && $(MAKE) install) || exit; done
uninstall: uninstall:

View File

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

View File

@ -1,5 +1,5 @@
/* $Id$ */ /* $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 file is part of DeforaOS Desktop Panel */
/* This program is free software: you can redistribute it and/or modify /* 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 * it under the terms of the GNU General Public License as published by
@ -15,8 +15,8 @@
#ifndef PANEL_PANEL_H #ifndef DESKTOP_PANEL_H
# define PANEL_PANEL_H # define DESKTOP_PANEL_H
# include <gtk/gtk.h> # include <gtk/gtk.h>
@ -66,4 +66,4 @@ struct _PanelApplet
void * priv; void * priv;
}; };
#endif /* !PANEL_PANEL_H */ #endif /* !DESKTOP_PANEL_H */

View File

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